patch stderr'a değil stdout'a veriyor hataları :(

This commit is contained in:
S.Çağlar Onur
2006-04-22 23:02:36 +00:00
parent 230a693bdc
commit 3bbb37936d
+1 -1
View File
@@ -492,7 +492,7 @@ def do_patch(sourceDir, patchFile, level = 0, target = ''):
# Which means stderr and stdout directed so they are None
raise Error(_("ERROR: patch (%s) failed") % (patchFile))
else:
raise Error(_("ERROR: patch (%s) failed: %s") % (patchFile, err))
raise Error(_("ERROR: patch (%s) failed: %s") % (patchFile, out))
os.chdir(cwd)