[PATCH] Re: repository/Base.py: Fix regression (UIBase is no more)

Nicolas Sebrecht nicolas.s-dev at laposte.net
Tue Mar 1 17:36:42 GMT 2011


On Tue, Mar 01, 2011 at 03:08:38PM +0100, Sebastian Spaeth wrote:
> 
> Commit e506442996f1a4 changed getglobalui() back to UIBase.getglobalui()
> although the import had changed earlier, causing a regression.
> 
> Fix this by using the correct and current way of calling the ui.

Thanks, applied. Please, think about updating Changelog.draft.rst.
Will squash this in:

-- >8 --
diff --git a/Changelog.draft.rst b/Changelog.draft.rst
index 8b599f9..d9977a2 100644
--- a/Changelog.draft.rst
+++ b/Changelog.draft.rst
@@ -19,6 +19,8 @@ Changes
 Bug Fixes
 ---------
 
+* Fix regression (UIBase is no more).
+
 
 Pending for the next major release
 ==================================
diff --git a/offlineimap/repository/Base.py
b/offlineimap/repository/Base.py
index 39e490b..7e1dd4d 100644
--- a/offlineimap/repository/Base.py
+++ b/offlineimap/repository/Base.py
@@ -19,7 +19,6 @@
 from offlineimap import CustomConfig
 from offlineimap.ui import getglobalui
 import os.path
-import sys
 import traceback
 
 def LoadRepository(name, account, reqtype):
-- 
Nicolas Sebrecht




More information about the OfflineIMAP-project mailing list