Revision 11d7c545
Von Moritz Bunkus vor fast 12 Jahren hinzugefügt
scripts/oo-uno-test-conn.py | ||
---|---|---|
26 | 26 |
try: |
27 | 27 |
desktop = establish_connection(sys.argv[1]) |
28 | 28 |
except: |
29 |
print "0"
|
|
29 |
print("0")
|
|
30 | 30 |
sys.exit(2) |
31 | 31 |
|
32 |
print "1"
|
|
32 |
print("1")
|
|
33 | 33 |
sys.exit(0) |
34 | 34 |
|
35 | 35 |
main() |
Auch abrufbar als: Unified diff
Syntaxkompatibilität zu Python 3