patch stderr'a değil stdout'a veriyor hataları :(
This commit is contained in:
+1
-1
@@ -492,7 +492,7 @@ def do_patch(sourceDir, patchFile, level = 0, target = ''):
|
|||||||
# Which means stderr and stdout directed so they are None
|
# Which means stderr and stdout directed so they are None
|
||||||
raise Error(_("ERROR: patch (%s) failed") % (patchFile))
|
raise Error(_("ERROR: patch (%s) failed") % (patchFile))
|
||||||
else:
|
else:
|
||||||
raise Error(_("ERROR: patch (%s) failed: %s") % (patchFile, err))
|
raise Error(_("ERROR: patch (%s) failed: %s") % (patchFile, out))
|
||||||
|
|
||||||
os.chdir(cwd)
|
os.chdir(cwd)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user