From d8398ba374e1ea7881125504500cbdeca3991963 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Fri, 4 Mar 2016 18:58:59 -0500 Subject: [PATCH] Curses, UIBase: remove references to __bigversion__ __bigversion__ was removed in 281bcefb52fde0e8a714c65bff54b1a5a839b0e9. Signed-off-by: Ben Boeckel Signed-off-by: Nicolas Sebrecht --- offlineimap/ui/Curses.py | 2 +- offlineimap/ui/UIBase.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/offlineimap/ui/Curses.py b/offlineimap/ui/Curses.py index ddc05ea..d5b148d 100644 --- a/offlineimap/ui/Curses.py +++ b/offlineimap/ui/Curses.py @@ -603,7 +603,7 @@ class Blinkenlights(UIBase, CursesUtil): self.bannerwin.clear() # Delete old content (eg before resizes) self.bannerwin.bkgd(' ', color) # Fill background with that color string = "%s %s"% (offlineimap.__productname__, - offlineimap.__bigversion__) + offlineimap.__version__) self.bannerwin.addstr(0, 0, string, color) self.bannerwin.addstr(0, self.width -len(offlineimap.__copyright__) -1, offlineimap.__copyright__, color) diff --git a/offlineimap/ui/UIBase.py b/offlineimap/ui/UIBase.py index 427c8c7..62e42d1 100644 --- a/offlineimap/ui/UIBase.py +++ b/offlineimap/ui/UIBase.py @@ -115,7 +115,7 @@ class UIBase(object): # write out more verbose initial info blurb on the log file p_ver = ".".join([str(x) for x in sys.version_info[0:3]]) msg = "OfflineImap %s starting...\n Python: %s Platform: %s\n "\ - "Args: %s"% (offlineimap.__bigversion__, p_ver, sys.platform, + "Args: %s"% (offlineimap.__version__, p_ver, sys.platform, " ".join(sys.argv)) record = logging.LogRecord('OfflineImap', logging.INFO, __file__, None, msg, None, None) @@ -445,7 +445,7 @@ class UIBase(object): #TODO: Debug and make below working, it hangs Gmail #res_type, response = conn.id(( # 'name', offlineimap.__productname__, - # 'version', offlineimap.__bigversion__)) + # 'version', offlineimap.__version__)) #self._msg("Server ID: %s %s" % (res_type, response[0])) self._msg("Server welcome string: %s" % str(conn.welcome)) self._msg("Server capabilities: %s\n" % str(conn.capabilities))