소스 검색

Fix test_client.TestGetTransportAndPath.test_local_abs_windows_path

Gary van der Merwe 10 년 전
부모
커밋
f675e9fe74
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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