浏览代码

Fix style.

Jelmer Vernooij 4 年之前
父节点
当前提交
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()