diff options
-rw-r--r-- | lib/bb/fetch2/git.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/bb/fetch2/git.py b/lib/bb/fetch2/git.py index e6789bc840..0513348a18 100644 --- a/lib/bb/fetch2/git.py +++ b/lib/bb/fetch2/git.py @@ -331,10 +331,6 @@ class Git(FetchMethod): username = ud.user + '@' else: username = "" - if ud.proto == "ssh": - # Some servers, e.g. bitbucket.org can't cope with ssh:// - # and removing that means we need a : before path. - return "%s%s:%s" % (username, ud.host, ud.path) return "%s://%s%s%s" % (ud.proto, username, ud.host, ud.path) def _revision_key(self, ud, d, name): |