[Python-checkins] r85851 - python/branches/py3k/Tools/pynche/pyColorChooser.py
georg.brandl
python-checkins at python.org
Tue Oct 26 22:12:37 CEST 2010
Author: georg.brandl
Date: Tue Oct 26 22:12:37 2010
New Revision: 85851
Log:
Fix import.
Modified:
python/branches/py3k/Tools/pynche/pyColorChooser.py
Modified: python/branches/py3k/Tools/pynche/pyColorChooser.py
==============================================================================
--- python/branches/py3k/Tools/pynche/pyColorChooser.py (original)
+++ python/branches/py3k/Tools/pynche/pyColorChooser.py Tue Oct 26 22:12:37 2010
@@ -31,7 +31,7 @@
if dbfile != self.__databasefile:
colordb = ColorDB.get_colordb(dbfile)
if not self.__master:
- from Tkinter import Tk
+ from tkinter import Tk
self.__master = Tk()
if not self.__pw:
self.__pw, self.__sb = \
@@ -92,7 +92,7 @@
# test stuff
if __name__ == '__main__':
- from Tkinter import *
+ from tkinter import *
class Tester:
def __init__(self):
More information about the Python-checkins
mailing list