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 98add53..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): @@ -167,7 +166,7 @@ class BaseRepository(CustomConfig.ConfigHelperMixin): except (KeyboardInterrupt): raise except: - UIBase.getglobalui().warn("ERROR Attempting to make folder " \ + getglobalui().warn("ERROR Attempting to create folder " \ + key + ":" +traceback.format_exc()) #