Explorar el Código

Add Index.items.

Jelmer Vernooij hace 7 años
padre
commit
b031c053e4
Se han modificado 1 ficheros con 3 adiciones y 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