Kaynağa Gözat

Don't modify original capabilities list.

Jelmer Vernooij 16 yıl önce
ebeveyn
işleme
07beeecc3b
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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: