Skip to content

Commit fe5336e

Browse files
author
techtonik
committed
Improve error message when files are missing
1 parent 9676788 commit fe5336e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

patch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -758,7 +758,7 @@ def apply(self, strip=0):
758758
debug("stripping %s leading component from '%s'" % (strip, f2patch))
759759
f2patch = pathstrip(f2patch, strip)
760760
if not exists(f2patch):
761-
warning("source/target file does not exist\n--- %s\n+++ %s" % (p.source, f2patch))
761+
warning("source/target file does not exist:\n --- %s\n +++ %s" % (p.source, f2patch))
762762
errors += 1
763763
continue
764764
if not isfile(f2patch):

0 commit comments

Comments
 (0)