From e15587c1cc247c34a4217dde31cb3ae5353eae94 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Wed, 8 Dec 2010 17:33:57 +0900 Subject: [PATCH] don't need to display error as log line anymore --- ankiqt/ui/sync.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/ankiqt/ui/sync.py b/ankiqt/ui/sync.py index e39413dfd..e433f5732 100755 --- a/ankiqt/ui/sync.py +++ b/ankiqt/ui/sync.py @@ -267,13 +267,8 @@ sync was aborted. Please report this error.""") return True except Exception, e: self.ok = False - #traceback.print_exc() if self.deck: self.deck.close() - # cheap hack to ensure message is displayed - err = `getattr(e, 'data', None) or e` - self.setStatus(_("Syncing failed: %(a)s") % { - 'a': err}) self.error(e) return -1