diff --git a/offlineimap/ui/Machine.py b/offlineimap/ui/Machine.py index 03c3312..e5988e5 100644 --- a/offlineimap/ui/Machine.py +++ b/offlineimap/ui/Machine.py @@ -15,10 +15,10 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -import offlineimap.version import urllib, sys, re, time, traceback, threading, thread from UIBase import UIBase from threading import * +import offlineimap protocol = '6.0.0' @@ -173,7 +173,7 @@ class MachineUI(UIBase): s.outputlock.release() def init_banner(s): - s._printData('initbanner', offlineimap.version.banner) + s._printData('initbanner', offlineimap.banner) def callhook(s, msg): s._printData('callhook', msg) diff --git a/offlineimap/ui/UIBase.py b/offlineimap/ui/UIBase.py index 26db6b2..6621a62 100644 --- a/offlineimap/ui/UIBase.py +++ b/offlineimap/ui/UIBase.py @@ -16,10 +16,10 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -import offlineimap.version import re, time, sys, traceback, threading, thread from StringIO import StringIO from Queue import Empty +import offlineimap debugtypes = {'imap': 'IMAP protocol debugging', 'maildir': 'Maildir repository debugging', diff --git a/setup.py b/setup.py index f76a834..c87077b 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ from distutils.core import setup -import offlineimap.version +import offlineimap setup(name = "offlineimap", version = offlineimap.__version__,