From 1844cefd17136bcd144e717cb8ff28c319adfe85 Mon Sep 17 00:00:00 2001 From: Daniel Burrows Date: Fri, 1 Dec 2006 12:27:12 +0100 Subject: [PATCH] Remove a redundant (and mostly harmless) output of the error string from the Curses UI. It looks like I accidentally recorded the wrong version of Curses.py -- originally this code was there, but I moved it over to UIBase so it would cover the TTY UI also. --- offlineimap/ui/Curses.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/offlineimap/ui/Curses.py b/offlineimap/ui/Curses.py index bb1d947..3ebce9d 100644 --- a/offlineimap/ui/Curses.py +++ b/offlineimap/ui/Curses.py @@ -527,11 +527,6 @@ class Blinkenlights(BlinkenBase, UIBase): def terminate(s, exitstatus = 0, errortitle = None, errormsg = None): s.c.stop() - if errormsg <> None: - if errortitle <> None: - sys.stderr.write('%s: %s\n'%(errortitle, errormsg)) - else: - sys.stderr.write('%s\n' % errormsg) UIBase.terminate(s, exitstatus = exitstatus, errortitle = errortitle, errormsg = errormsg) def threadException(s, thread): -- 2.39.2