/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
|
offlineimap (3.0.1) unstable; urgency=low
|
||||||
|
|
||||||
* Detabified the source.
|
* Detabified the source.
|
||||||
|
* Added UI list to the manpage.
|
||||||
|
|
||||||
-- John Goerzen <jgoerzen@complete.org> Fri, 12 Jul 2002 07:28:24 -0500
|
-- 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
|
will be forced to be used, even if its
|
||||||
.B isuable()
|
.B isuable()
|
||||||
method states that it cannot be. Use this option with care.
|
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
|
.\".TP
|
||||||
.\".B \-v, \-\-version
|
.\".B \-v, \-\-version
|
||||||
.\"Show version of program.
|
.\"Show version of program.
|
||||||
|
@ -17,14 +17,16 @@
|
|||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
|
||||||
|
|
||||||
import TTY, UIBase
|
import UIBase
|
||||||
availableUIs = {'TTY': TTY, 'UIBase': UIBase}
|
try:
|
||||||
|
import TTY
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
try:
|
try:
|
||||||
import Tkinter
|
import Tkinter
|
||||||
except ImportError:
|
except ImportError:
|
||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
import Tk
|
import Tk
|
||||||
availableUIs['Tk'] = Tk
|
|
||||||
|
|
||||||
import detector
|
import detector
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
productname = 'OfflineIMAP'
|
productname = 'OfflineIMAP'
|
||||||
versionstr = "3.0.0"
|
versionstr = "3.0.1"
|
||||||
|
|
||||||
versionlist = versionstr.split(".")
|
versionlist = versionstr.split(".")
|
||||||
major = versionlist[0]
|
major = versionlist[0]
|
||||||
|
Loading…
Reference in New Issue
Block a user