summaryrefslogtreecommitdiffstats
path: root/dcoppython/test/test.py
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-01-10 18:50:57 +0900
committerSlávek Banko <slavek.banko@axis.cz>2023-01-13 03:28:05 +0100
commitd85bd77116b2cf7e7565a0905b53ff0fa2a5b50e (patch)
tree4a50744dcf8fbfeee8098646bb75332b7e1bfaec /dcoppython/test/test.py
parent3b188e184dc679e04975fbc2b572287fdcff0cca (diff)
downloadtdebindings-d85bd77116b2cf7e7565a0905b53ff0fa2a5b50e.tar.gz
tdebindings-d85bd77116b2cf7e7565a0905b53ff0fa2a5b50e.zip
Drop support for python2.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'dcoppython/test/test.py')
-rw-r--r--dcoppython/test/test.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/dcoppython/test/test.py b/dcoppython/test/test.py
index 5ead172a..fa04a2e0 100644
--- a/dcoppython/test/test.py
+++ b/dcoppython/test/test.py
@@ -4,12 +4,12 @@ import pydcop
#res = pcop.dcop_call( "kspread", "default", "getDocuments", () )
res = pydcop.anyAppCalled("kspread").default.getDocuments()
-print res
-print res[0].appname
-print res[0].name
+print(res)
+print(res[0].appname)
+print(res[0].name)
m = res[0].map()
-print m.tableNames()
+print(m.tableNames())
-print "done"
+print("done")