瀏覽代碼

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: