/head: changeset 120

Cleaned up imports
This commit is contained in:
jgoerzen 2002-07-16 00:40:43 +01:00
parent 07c56817c1
commit f35641b53f
4 changed files with 14 additions and 4 deletions

View File

@ -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

View File

@ -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.

View File

@ -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

View File

@ -1,5 +1,5 @@
productname = 'OfflineIMAP'
versionstr = "3.0.0"
versionstr = "3.0.1"
versionlist = versionstr.split(".")
major = versionlist[0]