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 37197c2 commit 52e7d45Copy full SHA for 52e7d45
setup.cfg
@@ -82,7 +82,7 @@ full =
82
typecode[full] >= 30.0.1
83
84
patch =
85
- patch >= 1.16
+ patch-ng >= 1.17
86
87
testing =
88
pytest >= 6, != 7.0.0
src/extractcode/patch.py
@@ -134,7 +134,7 @@ def patch_info(location):
134
135
Raise an exception if the file is not a patch file or cannot be parsed.
136
"""
137
- import patch as pythonpatch
+ import patch_ng as pythonpatch
138
patchset = pythonpatch.fromfile(location)
139
if not patchset:
140
msg = 'Unable to parse patch file: %(location)s' % locals()
0 commit comments