/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

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