Browse Source

objects: Fix default type of Commit.extra.

Jelmer Vernooij 13 năm trước cách đây
mục cha
commit
7d072a32fb
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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