John Carr %!s(int64=16) %!d(string=hai) anos
pai
achega
fa0b53a076
Modificáronse 1 ficheiros con 1 adicións e 3 borrados
  1. 1 3
      dulwich/protocol.py

+ 1 - 3
dulwich/protocol.py

@@ -148,9 +148,7 @@ class SSHVendor(object):
             args.extend(['-p', str(port)])
         if username is not None:
             host = "%s@%s" % (username, host)
-            args.append(host)
-        else:
-            args.append(host)
+        args.append(host)
         proc = subprocess.Popen(args + command,
                                 stdin=subprocess.PIPE,
                                 stdout=subprocess.PIPE)