소스 검색

Don't modify original capabilities list.

Jelmer Vernooij 16 년 전
부모
커밋
07beeecc3b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      dulwich/client.py

+ 1 - 1
dulwich/client.py

@@ -58,7 +58,7 @@ class GitClient(object):
     def __init__(self, fileno, read, write, thin_packs=None):
         self.proto = Protocol(read, write)
         self.fileno = fileno
-        self._capabilities = CAPABILITIES
+        self._capabilities = list(CAPABILITIES)
         if thin_packs is None:
             thin_packs = True
         if thin_packs: