summaryrefslogtreecommitdiffstats
path: root/dcoppython/test/dcopserver
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/dcopserver
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/dcopserver')
-rw-r--r--dcoppython/test/dcopserver/gen.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/dcoppython/test/dcopserver/gen.py b/dcoppython/test/dcopserver/gen.py
index 4d1b8ff2..f0c952e5 100644
--- a/dcoppython/test/dcopserver/gen.py
+++ b/dcoppython/test/dcopserver/gen.py
@@ -7,7 +7,7 @@ inc_exceptions = {'TQDate': None, 'TQTime': None, 'KURL' : 'kurl'}
iface_inc_list = ['dcopobject']
iface_inc_list += [ t.lower() for t in type_list if t[0]=='Q' and t not in inc_exceptions ]
-iface_inc_list += inc_exceptions.values()
+iface_inc_list += list(inc_exceptions.values())
iface_inc_1 = ['class DCOPDemoIface : virtual public DCOPObject {',
' K_DCOP',
@@ -39,7 +39,7 @@ files = {'tdedcoptest_iface.h': iface_inc,
'cpp_inc.h': cpp_inc
}
-for (fname,data) in files.items():
+for (fname,data) in list(files.items()):
outf = file(fname,'w')
for d in data:
outf.write(d+'\n')