Ver Fonte

print syntax fix

Julien Schueller há 8 anos atrás
pai
commit
efe7f19c63
2 ficheiros alterados com 2 adições e 2 exclusões
  1. 1 1
      kalliope/__init__.py
  2. 1 1
      kalliope/core/ShellGui.py

+ 1 - 1
kalliope/__init__.py

@@ -30,7 +30,7 @@ def signal_handler(signal, frame):
     :param frame: execution frame
     :param frame: execution frame
 
 
     """
     """
-    print "\n"
+    print("\n")
     Utils.print_info("Ctrl+C pressed. Killing Kalliope")
     Utils.print_info("Ctrl+C pressed. Killing Kalliope")
     sys.exit(0)
     sys.exit(0)
 
 

+ 1 - 1
kalliope/core/ShellGui.py

@@ -23,7 +23,7 @@ def signal_handler(signal, frame):
     :param signal: signal handler
     :param signal: signal handler
     :param frame: execution frame
     :param frame: execution frame
     """
     """
-    print "\n"
+    print("\n")
     Utils.print_info("Ctrl+C pressed. Killing Kalliope")
     Utils.print_info("Ctrl+C pressed. Killing Kalliope")
     sys.exit(0)
     sys.exit(0)