summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch2
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-15 15:01:41 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-15 15:02:40 +0000
commitf8508deb012b8bd53150818c706aa6032b3e1b20 (patch)
tree0db862905d385a7c10e8a8971e4f2c1cd558b110 /bitbake/lib/bb/fetch2
parentb567235c0ce427e2cd478a0268a295c74208e917 (diff)
downloadpoky-f8508deb012b8bd53150818c706aa6032b3e1b20.tar.gz
bitbake: Revert "fetch/git: Change to use clearer ssh url syntax for broken servers"
This reverts commit 4193e99adce8e88f12ac88d7578ad39575f7e346. It seems the underlying issue was caused by ":" in the url which isn't supported. The patch was therefore incorrect. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/fetch2')
-rw-r--r--bitbake/lib/bb/fetch2/git.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py
index e6789bc840..0513348a18 100644
--- a/bitbake/lib/bb/fetch2/git.py
+++ b/bitbake/lib/bb/fetch2/git.py
@@ -331,10 +331,6 @@ class Git(FetchMethod):
331 username = ud.user + '@' 331 username = ud.user + '@'
332 else: 332 else:
333 username = "" 333 username = ""
334 if ud.proto == "ssh":
335 # Some servers, e.g. bitbucket.org can't cope with ssh://
336 # and removing that means we need a : before path.
337 return "%s%s:%s" % (username, ud.host, ud.path)
338 return "%s://%s%s%s" % (ud.proto, username, ud.host, ud.path) 334 return "%s://%s%s%s" % (ud.proto, username, ud.host, ud.path)
339 335
340 def _revision_key(self, ud, d, name): 336 def _revision_key(self, ud, d, name):