Explorar o código

Add Index.items.

Jelmer Vernooij %!s(int64=7) %!d(string=hai) anos
pai
achega
b031c053e4
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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