We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46f1232 commit 21ff81eCopy full SHA for 21ff81e
patch_ng.py
@@ -31,7 +31,7 @@
31
from __future__ import print_function
32
33
__author__ = "Conan.io <info@conan.io>"
34
-__version__ = "1.17.4"
+__version__ = "1.17.3"
35
__license__ = "MIT"
36
__url__ = "https://github.com/conan-io/python-patch"
37
tests/run_tests.py
@@ -489,7 +489,7 @@ def test_pathstrip(self):
489
self.assertEqual(patch_ng.pathstrip(b'path/name.diff', 0), b'path/name.diff')
490
491
def remove_tree_force(folder):
492
- for root, dirs, files in os.walk(folder):
+ for root, _, files in os.walk(folder):
493
for it in files:
494
chmod(os.path.join(root, it), stat.S_IWUSR | stat.S_IWGRP | stat.S_IWOTH)
495
shutil.rmtree(folder, ignore_errors=True)
0 commit comments