Explorar o código

Don't modify original capabilities list.

Jelmer Vernooij %!s(int64=16) %!d(string=hai) anos
pai
achega
07beeecc3b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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: