diff options
author | Jiri Moskovcak <jmoskovc@redhat.com> | 2010-01-15 15:18:22 +0100 |
---|---|---|
committer | Jiri Moskovcak <jmoskovc@redhat.com> | 2010-01-15 15:18:22 +0100 |
commit | f0e636a2bac1d6a76fed613bee9505b4abfdf8b1 (patch) | |
tree | 896971e1e7ed4adde3f436d96a6aed9912fd7e13 /src/Hooks | |
parent | 1ff447ffaaa02cd0c46607f817c13328114145bc (diff) | |
download | abrt-f0e636a2bac1d6a76fed613bee9505b4abfdf8b1.tar.gz abrt-f0e636a2bac1d6a76fed613bee9505b4abfdf8b1.tar.xz abrt-f0e636a2bac1d6a76fed613bee9505b4abfdf8b1.zip |
use repr() to print variable values in python hook
Diffstat (limited to 'src/Hooks')
-rw-r--r-- | src/Hooks/abrt_exception_handler.py.in | 2 |
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 a0b0519..e0e1954 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 |