fix cleanse for python3
This commit is contained in:
parent
c5c743f2bf
commit
62ce6980a3
2
cleanse
2
cleanse
|
@ -15,7 +15,7 @@ stanzas = ' -o '.join(["-name '%s'" % x for x in patterns])
|
||||||
cmd = "find . -type f \\( %s \\) -print" % stanzas
|
cmd = "find . -type f \\( %s \\) -print" % stanzas
|
||||||
|
|
||||||
if opts.fake:
|
if opts.fake:
|
||||||
print "files that would be deleted:"
|
print("files that would be deleted:")
|
||||||
else:
|
else:
|
||||||
cmd += " -exec rm {} ';'";
|
cmd += " -exec rm {} ';'";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue