2
0
Эх сурвалжийг харах

objects: Fix default type of Commit.extra.

Jelmer Vernooij 13 жил өмнө
parent
commit
7ed321094c
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  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