Quellcode durchsuchen

Merge branch 'local_abs_windows_path' of git://github.com/garyvdm/dulwich

Jelmer Vernooij vor 10 Jahren
Ursprung
Commit
9bdd409397
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      dulwich/client.py

+ 1 - 1
dulwich/client.py

@@ -1135,7 +1135,7 @@ def get_transport_and_path(location, **kwargs):
         pass
 
     if (sys.platform == 'win32' and
-            location[0].isalpha() and location[1:2] == ':\\'):
+            location[0].isalpha() and location[1:3] == ':\\'):
         # Windows local path
         return default_local_git_client_cls(**kwargs), location