summaryrefslogtreecommitdiffstats
path: root/src/Gui/exception.py
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-08-18 13:15:23 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2009-08-18 13:15:23 +0200
commit2c8c422ef09b253b2cd7c2cc9fde9dda76cd3bb2 (patch)
treea4b965e5acc5bd424b3f0cca2f697d861e31b24d /src/Gui/exception.py
parent20eb553c3ac2187e8347f093f6ba480ceb85627b (diff)
downloadabrt-2c8c422ef09b253b2cd7c2cc9fde9dda76cd3bb2.tar.gz
abrt-2c8c422ef09b253b2cd7c2cc9fde9dda76cd3bb2.tar.xz
abrt-2c8c422ef09b253b2cd7c2cc9fde9dda76cd3bb2.zip
whitespace cleanup, no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'src/Gui/exception.py')
-rw-r--r--src/Gui/exception.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/Gui/exception.py b/src/Gui/exception.py
index 739b2c83..8c670115 100644
--- a/src/Gui/exception.py
+++ b/src/Gui/exception.py
@@ -156,10 +156,10 @@ def __exception_window(title, text, component_name):
info.set_line_wrap(True)
hbox.pack_start (scw, True)
# pylint: disable-msg=E1101
- win.vbox.pack_start (info, False)
- win.vbox.pack_start (hbox, True)
- win.vbox.set_border_width(12)
- win.vbox.set_spacing(12)
+ win.vbox.pack_start (info, False)
+ win.vbox.pack_start (hbox, True)
+ win.vbox.set_border_width(12)
+ win.vbox.set_spacing(12)
win.set_size_request (500, 300)
win.set_position (gtk.WIN_POS_CENTER)
#contents = win.get_children()[0]
@@ -231,7 +231,7 @@ def exitcode(num):
#
# handleMyException function
#
-def handleMyException((etype, value, tb), progname, version,
+def handleMyException((etype, value, tb), progname, version,
gui = 1, debug = 1):
"""
The exception handling function.
@@ -309,7 +309,7 @@ def handleMyException((etype, value, tb), progname, version,
while 1:
rc = __exception_window (_("%(progname)s - Exception Occurred") \
- % {'progname' : progname},
+ % {'progname' : progname},
text, progname)
print text
@@ -340,7 +340,7 @@ def handleMyException((etype, value, tb), progname, version,
out.close()
except IOError:
- _generic_error_dialog(progname,
+ _generic_error_dialog(progname,
_("Failed to write to file %s.") \
% (tfile), None)
else:
@@ -365,7 +365,7 @@ def installExceptionHandler(progname, version, gui = 1, debug = 1):
debug - show the full traceback (with "Save to file" in GUI)
"""
sys.excepthook = lambda etype, value, tb: \
- handleMyException((etype, value, tb),
+ handleMyException((etype, value, tb),
progname, version, gui, debug)
if __name__ == '__main__':