소스 검색

Fix typing on 3.5.

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: