From: Moritz Bunkus Date: Fri, 14 Dec 2012 12:46:28 +0000 (+0100) Subject: Syntaxkompatibilität zu Python 3 X-Git-Tag: release-3.1.0beta1~778^2~2 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=11d7c545340a8f2cc54ce7530758a6e0478c6716;p=kivitendo-erp.git Syntaxkompatibilität zu Python 3 --- diff --git a/scripts/oo-uno-test-conn.py b/scripts/oo-uno-test-conn.py index 5b7203ae9..9dc88d701 100755 --- a/scripts/oo-uno-test-conn.py +++ b/scripts/oo-uno-test-conn.py @@ -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()