except Ex, e: --> except Ex as e:

Nudge us towards python3 compatability by converting deprecated python2 syntax.

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
This commit is contained in:
Sebastian Spaeth
2012-02-05 10:14:23 +01:00
parent 7f22d89872
commit 0844d27f9f
12 changed files with 36 additions and 36 deletions

View File

@ -351,7 +351,7 @@ class OfflineImap:
self.ui.terminate()
except (SystemExit):
raise
except Exception, e:
except Exception as e:
self.ui.error(e)
self.ui.terminate()