diff options
author | Jiri Moskovcak <jmoskovc@redhat.com> | 2009-12-07 16:11:32 +0100 |
---|---|---|
committer | Jiri Moskovcak <jmoskovc@redhat.com> | 2009-12-07 16:11:32 +0100 |
commit | 99edae18f6aa282f24c025835308053d01e7ffc5 (patch) | |
tree | cb483932943a9920aa341fb7a62ac2cd3fa60514 /src | |
parent | b9662dbc100d150a4ce4e8be0538d3b32105d7f1 (diff) | |
download | abrt-99edae18f6aa282f24c025835308053d01e7ffc5.tar.gz abrt-99edae18f6aa282f24c025835308053d01e7ffc5.tar.xz abrt-99edae18f6aa282f24c025835308053d01e7ffc5.zip |
PyHook: use repr() for displaying variables rhbz#545070
Diffstat (limited to 'src')
-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 c7f72530..6933ac00 100644 --- a/src/Hooks/abrt_exception_handler.py.in +++ b/src/Hooks/abrt_exception_handler.py.in @@ -129,7 +129,7 @@ def __dump_exception(out, text, tracebk): out.write ("\nLocal variables in innermost frame:\n") try: for (key, value) in frame.f_locals.items(): - out.write ("%s: %s\n" % (key, value)) + out.write ("%s: %s\n" % (key, repr(value))) except: pass |