summaryrefslogtreecommitdiff
path: root/src/common.py
diff options
context:
space:
mode:
authorlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-06-13 16:01:38 +0000
committerlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-06-13 16:01:38 +0000
commita35866ba8d0ea2959133331f41ddfad8ef74e23f (patch)
tree6c9acd8acfe9dd0c8fc82da0b0031b71283ca502 /src/common.py
parentaccfe046bea252f12ecd441bee348d3cd7e1bf84 (diff)
downloadpoezio-a35866ba8d0ea2959133331f41ddfad8ef74e23f.tar.gz
poezio-a35866ba8d0ea2959133331f41ddfad8ef74e23f.tar.bz2
poezio-a35866ba8d0ea2959133331f41ddfad8ef74e23f.tar.xz
poezio-a35866ba8d0ea2959133331f41ddfad8ef74e23f.zip
code cleanup before 0.6 beta
Diffstat (limited to 'src/common.py')
-rw-r--r--src/common.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/common.py b/src/common.py
index 063ad424..9c7d31a3 100644
--- a/src/common.py
+++ b/src/common.py
@@ -33,7 +33,6 @@
"""
various useful functions
"""
-
import base64
import os
import mimetypes
@@ -60,8 +59,8 @@ def exception_handler(type_, value, trace):
on any traceback: exit ncurses and print the traceback
then exit the program
"""
- curses.echo()
curses.endwin()
+ curses.echo()
traceback.print_exception(type_, value, trace, None, sys.stderr)
sys.exit(2)