summaryrefslogtreecommitdiffstats
path: root/chalk/core/createdcop.py
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2023-01-22 02:02:13 +0100
committerSlávek Banko <slavek.banko@axis.cz>2023-01-22 02:02:13 +0100
commit86480e58eafc1fa3486e03155ed34e02b4595a24 (patch)
tree0e8f64c4003ea558e946b7a3347688904b451635 /chalk/core/createdcop.py
parent135d005014a1e85295af4e379f026a361537ae5f (diff)
downloadkoffice-86480e58eafc1fa3486e03155ed34e02b4595a24.tar.gz
koffice-86480e58eafc1fa3486e03155ed34e02b4595a24.zip
Drop python2 support in scripts.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'chalk/core/createdcop.py')
-rwxr-xr-xchalk/core/createdcop.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/chalk/core/createdcop.py b/chalk/core/createdcop.py
index 337d9076..f51b3968 100755
--- a/chalk/core/createdcop.py
+++ b/chalk/core/createdcop.py
@@ -134,7 +134,7 @@ def parseHeader(headerfile, classname):
if (function.endswith("= 0;")):
function = function[:-4] + ";"
- print "\t", function
+ print("\t", function)
i+=1
@@ -162,7 +162,7 @@ def createDCOP(header):
def main(args):
for line in args[1:]:
- print "Going to create a dcop interface for:", line[:-1]
+ print("Going to create a dcop interface for:", line[:-1])
createDCOP(line.strip())
if __name__=="__main__":