2
0
Jelmer Vernooij 4 жил өмнө
parent
commit
2659eac703
1 өөрчлөгдсөн 2 нэмэгдсэн , 1 устгасан
  1. 2 1
      dulwich/porcelain.py

+ 2 - 1
dulwich/porcelain.py

@@ -481,7 +481,8 @@ def clean(repo=".", target_dir=None):
             raise Error("target_dir must be in the repo's working dir")
 
         config = r.get_config_stack()
-        require_force = config.get_boolean((b'clean',), b'requireForce', True)
+        require_force = config.get_boolean(   # noqa: F841
+            (b'clean',), b'requireForce', True)
 
         # TODO(jelmer): if require_force is set, then make sure that -f, -i or
         # -n is specified.