diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/patch.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/patch.bbclass b/meta/classes/patch.bbclass index 87bcaf91a8..fdf3c633bc 100644 --- a/meta/classes/patch.bbclass +++ b/meta/classes/patch.bbclass | |||
@@ -150,12 +150,12 @@ python patch_do_patch() { | |||
150 | patchset.Import({"file":local, "strippath": parm['striplevel']}, True) | 150 | patchset.Import({"file":local, "strippath": parm['striplevel']}, True) |
151 | except Exception as exc: | 151 | except Exception as exc: |
152 | bb.utils.remove(process_tmpdir, True) | 152 | bb.utils.remove(process_tmpdir, True) |
153 | bb.fatal("Importing patch '%s' with striplevel '%s'\n%s" % (parm['patchname'], parm['striplevel'], str(exc))) | 153 | bb.fatal("Importing patch '%s' with striplevel '%s'\n%s" % (parm['patchname'], parm['striplevel'], repr(exc))) |
154 | try: | 154 | try: |
155 | resolver.Resolve() | 155 | resolver.Resolve() |
156 | except bb.BBHandledException as e: | 156 | except bb.BBHandledException as e: |
157 | bb.utils.remove(process_tmpdir, True) | 157 | bb.utils.remove(process_tmpdir, True) |
158 | bb.fatal("Applying patch '%s' on target directory '%s'\n%s" % (parm['patchname'], patchdir, str(e))) | 158 | bb.fatal("Applying patch '%s' on target directory '%s'\n%s" % (parm['patchname'], patchdir, repr(e))) |
159 | 159 | ||
160 | bb.utils.remove(process_tmpdir, True) | 160 | bb.utils.remove(process_tmpdir, True) |
161 | del os.environ['TMPDIR'] | 161 | del os.environ['TMPDIR'] |