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

+ 1 - 1
dulwich/index.py

@@ -383,7 +383,7 @@ def commit_tree(
     Returns:
       SHA1 of the created tree.
     """
-    trees: Dict[bytes, Any] = {b'': {}}
+    trees = {b'': {}}  # type: Dict[bytes, Any]
 
     def add_tree(path):
         if path in trees: