offlineimap.version is no more.
This fixes some leftover of 0b5b38d298
.
Signed-off-by: Thomas Schwinge <thomas@schwinge.name>
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
parent
69c1b07bc7
commit
fa60f3f9b7
@ -15,10 +15,10 @@
|
|||||||
# along with this program; if not, write to the Free Software
|
# along with this program; if not, write to the Free Software
|
||||||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
import offlineimap.version
|
|
||||||
import urllib, sys, re, time, traceback, threading, thread
|
import urllib, sys, re, time, traceback, threading, thread
|
||||||
from UIBase import UIBase
|
from UIBase import UIBase
|
||||||
from threading import *
|
from threading import *
|
||||||
|
import offlineimap
|
||||||
|
|
||||||
protocol = '6.0.0'
|
protocol = '6.0.0'
|
||||||
|
|
||||||
@ -173,7 +173,7 @@ class MachineUI(UIBase):
|
|||||||
s.outputlock.release()
|
s.outputlock.release()
|
||||||
|
|
||||||
def init_banner(s):
|
def init_banner(s):
|
||||||
s._printData('initbanner', offlineimap.version.banner)
|
s._printData('initbanner', offlineimap.banner)
|
||||||
|
|
||||||
def callhook(s, msg):
|
def callhook(s, msg):
|
||||||
s._printData('callhook', msg)
|
s._printData('callhook', msg)
|
||||||
|
@ -16,10 +16,10 @@
|
|||||||
# along with this program; if not, write to the Free Software
|
# along with this program; if not, write to the Free Software
|
||||||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
import offlineimap.version
|
|
||||||
import re, time, sys, traceback, threading, thread
|
import re, time, sys, traceback, threading, thread
|
||||||
from StringIO import StringIO
|
from StringIO import StringIO
|
||||||
from Queue import Empty
|
from Queue import Empty
|
||||||
|
import offlineimap
|
||||||
|
|
||||||
debugtypes = {'imap': 'IMAP protocol debugging',
|
debugtypes = {'imap': 'IMAP protocol debugging',
|
||||||
'maildir': 'Maildir repository debugging',
|
'maildir': 'Maildir repository debugging',
|
||||||
|
Loading…
Reference in New Issue
Block a user