19 lines
942 B
Diff
19 lines
942 B
Diff
|
diff -Nru PackageKit-0.6.22.orig/lib/python/packagekit/backend.py PackageKit-0.6.22/lib/python/packagekit/backend.py
|
||
|
--- PackageKit-0.6.22.orig/lib/python/packagekit/backend.py 2012-08-21 17:30:49.780155890 +0200
|
||
|
+++ PackageKit-0.6.22/lib/python/packagekit/backend.py 2012-08-21 17:32:29.138192772 +0200
|
||
|
@@ -845,12 +845,13 @@
|
||
|
# Call backend custom Traceback handler
|
||
|
if not base.customTracebackHandler(typ):
|
||
|
etb = traceback.extract_tb(tb)
|
||
|
- errmsg = 'Error Type: %s;' % str(typ)
|
||
|
+ errmsg = '<html>Error Type: %s;' % str(typ)
|
||
|
errmsg += 'Error Value: %s;' % str(value)
|
||
|
for tub in etb:
|
||
|
f, l, m, c = tub # file, lineno, function, codeline
|
||
|
errmsg += ' File : %s, line %s, in %s;' % (f, str(l), m)
|
||
|
errmsg += ' %s;' % c
|
||
|
+ errmsg += '</html>'
|
||
|
# send the traceback to PackageKit
|
||
|
base.error(ERROR_INTERNAL_ERROR, errmsg, exit=True)
|
||
|
|