Skip to content

Commit 9634ba4

Browse files
committed
#5 bump version to 1.17.2
Signed-off-by: Uilian Ries <uilianries@gmail.com>
1 parent 5df16e3 commit 9634ba4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

patch_ng.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
from __future__ import print_function
3232

3333
__author__ = "Conan.io <info@conan.io>"
34-
__version__ = "1.17.1"
34+
__version__ = "1.17.2"
3535
__license__ = "MIT"
3636
__url__ = "https://github.com/conan-io/python-patch"
3737

@@ -1346,6 +1346,10 @@ def main():
13461346
print(patch.diffstat())
13471347
sys.exit(0)
13481348

1349+
if not patch:
1350+
error("Could not parse patch")
1351+
sys.exit(-1)
1352+
13491353
#pprint(patch)
13501354
if options.revert:
13511355
patch.revert(options.strip, root=options.directory) or sys.exit(-1)

0 commit comments

Comments
 (0)