about summary refs log tree commit diff
path: root/kcc.py
diff options
context:
space:
mode:
authorCiro Mattia Gonano <ciromattia@gmail.com>2013-11-14 15:49:46 +0100
committerCiro Mattia Gonano <ciromattia@gmail.com>2013-11-14 15:49:46 +0100
commitd33c53b691cdd34a622f72ed2a8add12af5b30a7 (patch)
tree4d339c15a3f13ba4966f9f69d0ac2efc08e6c303 /kcc.py
parentCode cleanup (diff)
downloadkcc-d33c53b691cdd34a622f72ed2a8add12af5b30a7.tar.gz
kcc-d33c53b691cdd34a622f72ed2a8add12af5b30a7.tar.bz2
kcc-d33c53b691cdd34a622f72ed2a8add12af5b30a7.zip
Version 4.0 - first draft for Python3 conversion
Diffstat (limited to 'kcc.py')
-rw-r--r--kcc.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/kcc.py b/kcc.py
index 4d60f5e..a6f9c23 100644
--- a/kcc.py
+++ b/kcc.py
@@ -18,7 +18,7 @@
 # TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
 # PERFORMANCE OF THIS SOFTWARE.
 
-__version__ = '3.6'
+__version__ = '4.0'
 __license__ = 'ISC'
 __copyright__ = '2012-2013, Ciro Mattia Gonano <ciromattia@gmail.com>, Pawel Jastrzebski <pawelj@vulturis.eu>'
 __docformat__ = 'restructuredtext en'
@@ -29,13 +29,13 @@ try:
     #noinspection PyUnresolvedReferences
     from PyQt4 import QtCore, QtGui, QtNetwork
 except ImportError:
-    print "ERROR: PyQT4 is not installed!"
+    print("ERROR: PyQT4 is not installed!")
     if sys.platform.startswith('linux'):
-        import Tkinter
-        import tkMessageBox
-        importRoot = Tkinter.Tk()
+        import tkinter
+        import tkinter.messagebox
+        importRoot = tkinter.Tk()
         importRoot.withdraw()
-        tkMessageBox.showerror("KCC - Error", "PyQT4 is not installed!")
+        tkinter.messagebox.showerror("KCC - Error", "PyQT4 is not installed!")
     exit(1)
 from kcc import KCC_gui
 from multiprocessing import freeze_support