]> code.delx.au - offlineimap/commit
Add a try: block to catch exceptions that occur before the main loop and to call...
authorDaniel Burrows <dburrows@debian.org>
Fri, 1 Dec 2006 10:59:22 +0000 (11:59 +0100)
committerDaniel Burrows <dburrows@debian.org>
Fri, 1 Dec 2006 10:59:22 +0000 (11:59 +0100)
commitdc8f3c944dbfd9bad55c3789d81f2e0e60e6f225
treee398975ed2484d477690324610745216dbfebec9
parentc7894a01f01217ccb51d5659b7dff0da13047359
Add a try: block to catch exceptions that occur before the main loop and to call ui.mainException().

I'm not sure if this is the "right" way to handle exceptions, but it does
correctly print the error message AFTER shutting down curses for me.
offlineimap/init.py