John Carr 16 anos atrás
pai
commit
010cec63fb
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      dulwich/repo.py

+ 1 - 1
dulwich/repo.py

@@ -145,7 +145,7 @@ class Repo(object):
     :return: tuple with number of objects, iterator over objects
     """
     shas = self.find_missing_objects(determine_wants, graph_walker, progress)
-    return (len(shas), (self.get_object(sha), path for sha, path in shas))
+    return (len(shas), ((self.get_object(sha), path) for sha, path in shas))
 
   def object_dir(self):
     return os.path.join(self.controldir(), OBJECTDIR)