Drop python2 support.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/15/head r14.1.0
Michele Calgaro 2 years ago
parent a291362802
commit 9afce99921
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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:

Loading…
Cancel
Save