summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2010-01-15 15:18:22 +0100
committerJiri Moskovcak <jmoskovc@redhat.com>2010-01-15 15:18:22 +0100
commitf0e636a2bac1d6a76fed613bee9505b4abfdf8b1 (patch)
tree896971e1e7ed4adde3f436d96a6aed9912fd7e13 /src
parent1ff447ffaaa02cd0c46607f817c13328114145bc (diff)
downloadabrt-f0e636a2bac1d6a76fed613bee9505b4abfdf8b1.tar.gz
abrt-f0e636a2bac1d6a76fed613bee9505b4abfdf8b1.tar.xz
abrt-f0e636a2bac1d6a76fed613bee9505b4abfdf8b1.zip
use repr() to print variable values in python hook
Diffstat (limited to 'src')
-rw-r--r--src/Hooks/abrt_exception_handler.py.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Hooks/abrt_exception_handler.py.in b/src/Hooks/abrt_exception_handler.py.in
index a0b0519d..e0e19544 100644
--- a/src/Hooks/abrt_exception_handler.py.in
+++ b/src/Hooks/abrt_exception_handler.py.in
@@ -213,7 +213,7 @@ def handleMyException((etype, value, tb)):
text += ("\nLocal variables in innermost frame:\n")
try:
for (key, val) in frame.f_locals.items():
- text += "%s: %s\n" % (key, val)
+ text += "%s: %s\n" % (key, repr(val))
except:
pass