Fix up modules that have python24 syntax error

This commit is contained in:
Matt Martz
2015-05-08 16:36:15 -05:00
committed by Matt Clay
parent a03da8d592
commit 8bd5757720
17 changed files with 104 additions and 58 deletions

View File

@@ -110,7 +110,7 @@ def apply_patch(patch_func, patch_file, basedir, dest_file=None, strip=0, dry_ru
(rc, out, err) = patch_func(opts)
if rc != 0:
msg = out if not err else err
msg = err or out
raise PatchError(msg)