Jelmer Vernooij 4 лет назад
Родитель
Сommit
0a6dc06a0d
2 измененных файлов с 1 добавлено и 1 удалено
  1. 0 1
      dulwich/cloud/gcs.py
  2. 1 0
      dulwich/object_store.py

+ 0 - 1
dulwich/cloud/gcs.py

@@ -21,7 +21,6 @@
 
 """Storage of repositories on GCS."""
 
-from io import BytesIO
 import posixpath
 import tempfile
 

+ 1 - 0
dulwich/object_store.py

@@ -1526,6 +1526,7 @@ class BucketBasedObjectStore(PackBasedObjectStore):
         import tempfile
 
         pf = tempfile.SpooledTemporaryFile()
+
         def commit():
             if pf.tell() == 0:
                 pf.close()