---
src/hooks/abrt_exception_handler.py.in | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/hooks/abrt_exception_handler.py.in
b/src/hooks/abrt_exception_handler.py.in
index e9d2e87..daa4e2e 100644
--- a/src/hooks/abrt_exception_handler.py.in
+++ b/src/hooks/abrt_exception_handler.py.in
@@ -138,11 +138,11 @@ def handleMyException((etype, value, tb)):
text += "".join(elist)
trace = tb
- while trace.tb_next:
- trace = trace.tb_next
- frame = trace.tb_frame
- text += ("\nLocal variables in innermost frame:\n")
try:
+ while trace.tb_next:
+ trace = trace.tb_next
+ frame = trace.tb_frame
+ text += ("\nLocal variables in innermost frame:\n")
for (key, val) in frame.f_locals.items():
text += "%s: %s\n" % (key, repr(val))
except:
--
1.7.6.4