python3: import absolute package name
This import failed in python3, we need to either specify "." (relative) or from OfflineImap.ui. (absolute). Done the latter. Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
This commit is contained in:
parent
06a78b6112
commit
74fc902967
@ -16,9 +16,9 @@
|
|||||||
# 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
|
||||||
|
|
||||||
from Base import BaseRepository
|
|
||||||
from offlineimap.folder.LocalStatus import LocalStatusFolder, magicline
|
from offlineimap.folder.LocalStatus import LocalStatusFolder, magicline
|
||||||
from offlineimap.folder.LocalStatusSQLite import LocalStatusSQLiteFolder
|
from offlineimap.folder.LocalStatusSQLite import LocalStatusSQLiteFolder
|
||||||
|
from offlineimap.repository.Base import BaseRepository
|
||||||
import os
|
import os
|
||||||
import re
|
import re
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
from Base import BaseRepository
|
|
||||||
from offlineimap import folder
|
from offlineimap import folder
|
||||||
from offlineimap.ui import getglobalui
|
from offlineimap.ui import getglobalui
|
||||||
from offlineimap.error import OfflineImapError
|
from offlineimap.error import OfflineImapError
|
||||||
|
from offlineimap.repository.Base import BaseRepository
|
||||||
import os
|
import os
|
||||||
from stat import *
|
from stat import *
|
||||||
|
|
||||||
|
@ -17,8 +17,8 @@ from urllib import urlencode
|
|||||||
import sys
|
import sys
|
||||||
import time
|
import time
|
||||||
import logging
|
import logging
|
||||||
from UIBase import UIBase
|
|
||||||
from threading import currentThread
|
from threading import currentThread
|
||||||
|
from offlineimap.ui.UIBase import UIBase
|
||||||
import offlineimap
|
import offlineimap
|
||||||
|
|
||||||
protocol = '7.0.0'
|
protocol = '7.0.0'
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# Noninteractive UI
|
# Noninteractive UI
|
||||||
# Copyright (C) 2002-2011 John Goerzen & contributors
|
# Copyright (C) 2002-2012 John Goerzen & contributors
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
@ -16,7 +16,7 @@
|
|||||||
# 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 logging
|
import logging
|
||||||
from UIBase import UIBase
|
from offlineimap.ui.UIBase import UIBase
|
||||||
|
|
||||||
class Basic(UIBase):
|
class Basic(UIBase):
|
||||||
"""'Quiet' simply sets log level to INFO"""
|
"""'Quiet' simply sets log level to INFO"""
|
||||||
|
Loading…
Reference in New Issue
Block a user