Syntaxkompatibilität zu Python 3
authorMoritz Bunkus <m.bunkus@linet-services.de>
Fri, 14 Dec 2012 12:46:28 +0000 (13:46 +0100)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Fri, 14 Dec 2012 12:46:28 +0000 (13:46 +0100)
scripts/oo-uno-test-conn.py

index 5b7203a..9dc88d7 100755 (executable)
@@ -26,10 +26,10 @@ def main():
   try:
     desktop = establish_connection(sys.argv[1])
   except:
-    print "0"
+    print("0")
     sys.exit(2)
 
-  print "1"
+  print("1")
   sys.exit(0)
 
 main()