[PATCH] offlineimap.version is no more.

Thomas Schwinge thomas at schwinge.name
Tue Jan 25 11:22:26 GMT 2011


This fixes some leftover of 0b5b38d2989b7b6e6ee7846deea86daf32dc30f1.

Signed-off-by: Thomas Schwinge <thomas at schwinge.name>
---

Hallo!

Apparently some folks still had a stale offlineimap/version.pyc file?
;-)


Grüße,
 Thomas


---
 offlineimap/ui/Machine.py |    4 ++--
 offlineimap/ui/UIBase.py  |    2 +-
 setup.py                  |    2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

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__,
-- 
1.7.1





More information about the OfflineIMAP-project mailing list