Quellcode durchsuchen

Don't modify original capabilities list.

Jelmer Vernooij vor 16 Jahren
Ursprung
Commit
07beeecc3b
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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: