summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-01-14 23:44:29 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-01-14 23:44:29 +0900
commit9afce99921749edee7de137877a7898742bc93b5 (patch)
treed0428a2416931b8e889e54b95757d2ab2ba7479a
parenta291362802f3e72e7875380ac08fec1d4bcad527 (diff)
downloadtdesdk-9afce99921749edee7de137877a7898742bc93b5.tar.gz
tdesdk-9afce99921749edee7de137877a7898742bc93b5.zip
Drop python2 support.r14.1.0
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rwxr-xr-xscripts/kdelnk2desktop.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/kdelnk2desktop.py b/scripts/kdelnk2desktop.py
index 9d96d87c..e73132b7 100755
--- a/scripts/kdelnk2desktop.py
+++ b/scripts/kdelnk2desktop.py
@@ -3,14 +3,14 @@
import os, sys, string
def help():
- print "Usage: %s <filename>.kdelnk ..."
+ print("Usage: %s <filename>.kdelnk ...")
if len(sys.argv) < 2:
help()
sys.exit()
for fn in sys.argv[1:]:
- print "Doing %s ..." % fn
+ print("Doing %s ..." % fn)
f = open(fn, 'r').readlines()
if string.find(f[0], "# KDE Config") == 0: