Jelmer Vernooij %!s(int64=4) %!d(string=hai) anos
pai
achega
0a6dc06a0d
Modificáronse 2 ficheiros con 1 adicións e 1 borrados
  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()