/head: changeset 120
Cleaned up imports
This commit is contained in:
parent
07c56817c1
commit
f35641b53f
@ -1,6 +1,7 @@
|
||||
offlineimap (3.0.1) unstable; urgency=low
|
||||
|
||||
* Detabified the source.
|
||||
* Added UI list to the manpage.
|
||||
|
||||
-- John Goerzen <jgoerzen@complete.org> Fri, 12 Jul 2002 07:28:24 -0500
|
||||
|
||||
|
@ -248,6 +248,13 @@ with
|
||||
will be forced to be used, even if its
|
||||
.B isuable()
|
||||
method states that it cannot be. Use this option with care.
|
||||
.IP
|
||||
The pre-defined options are
|
||||
.B Tk.TKUI
|
||||
(a graphical interface)
|
||||
and
|
||||
.B TTY.TTYUI
|
||||
(a text-mode interface).
|
||||
.\".TP
|
||||
.\".B \-v, \-\-version
|
||||
.\"Show version of program.
|
||||
|
@ -17,14 +17,16 @@
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
|
||||
import TTY, UIBase
|
||||
availableUIs = {'TTY': TTY, 'UIBase': UIBase}
|
||||
import UIBase
|
||||
try:
|
||||
import TTY
|
||||
except ImportError:
|
||||
pass
|
||||
try:
|
||||
import Tkinter
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
import Tk
|
||||
availableUIs['Tk'] = Tk
|
||||
|
||||
import detector
|
||||
|
@ -1,5 +1,5 @@
|
||||
productname = 'OfflineIMAP'
|
||||
versionstr = "3.0.0"
|
||||
versionstr = "3.0.1"
|
||||
|
||||
versionlist = versionstr.split(".")
|
||||
major = versionlist[0]
|
||||
|
Loading…
Reference in New Issue
Block a user