Jelmer Vernooij преди 7 години
родител
ревизия
b031c053e4
променени са 1 файла, в които са добавени 3 реда и са изтрити 0 реда
  1. 3 0
      dulwich/index.py

+ 3 - 0
dulwich/index.py

@@ -295,6 +295,9 @@ class Index(object):
     def iteritems(self):
         return self._byname.items()
 
+    def items(self):
+        return self._byname.items()
+
     def update(self, entries):
         for name, value in entries.items():
             self[name] = value