Przeglądaj źródła

objects: Fix default type of Commit.extra.

Jelmer Vernooij 13 lat temu
rodzic
commit
7ed321094c
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      dulwich/objects.py

+ 1 - 1
dulwich/objects.py

@@ -1044,7 +1044,7 @@ class Commit(ShaFile):
         super(Commit, self).__init__()
         self._parents = []
         self._encoding = None
-        self._extra = {}
+        self._extra = []
         self._author_timezone_neg_utc = False
         self._commit_timezone_neg_utc = False