diff options
Diffstat (limited to 'src/qtuicompiler.py')
-rw-r--r-- | src/qtuicompiler.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qtuicompiler.py b/src/qtuicompiler.py index dfca67c..ff626ad 100644 --- a/src/qtuicompiler.py +++ b/src/qtuicompiler.py @@ -82,7 +82,7 @@ def DynamicImport(importargs,kde=False): UpdateUI(file_name_ui,kde) except: traceback.print_exc() - raise ImportError, "Unable to compile Qt designer file %s." % args[0] + raise ImportError("Unable to compile Qt designer file %s." % args[0]) ############################################################################ def UpdateUI(ui_file,kde=False): @@ -100,9 +100,9 @@ def UpdateUI(ui_file,kde=False): def main(): # FIXME parse args and add --kde parameter. if len(sys.argv)!=3: - print """\nUsage: + print("""\nUsage: qtuicompiler filename.ui filename.py\n\n -""" +""") return CompileUI(sys.argv[1],sys.argv[2]) |