summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch2/git.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/fetch2/git.py')
-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):