Browse Source

Fix style.

Jelmer Vernooij 7 năm trước cách đây
mục cha
commit
b502963992
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      dulwich/object_store.py

+ 2 - 1
dulwich/object_store.py

@@ -183,7 +183,8 @@ class BaseObjectStore(object):
             tree.
         """
         for entry, _ in walk_trees(self, tree_id, None):
-            if (entry.mode is not None and not stat.S_ISDIR(entry.mode)) or include_trees:
+            if ((entry.mode is not None and
+                 not stat.S_ISDIR(entry.mode)) or include_trees):
                 yield entry
 
     def find_missing_objects(self, haves, wants, progress=None,