attiribit
This commit is contained in:
@@ -36,7 +36,7 @@ def doit(root, listdir, clean, suffix = ""):
|
|||||||
print "%s%s" % (f, suffix)
|
print "%s%s" % (f, suffix)
|
||||||
if clean == True:
|
if clean == True:
|
||||||
try:
|
try:
|
||||||
if os.isdir(target):
|
if os.path.isdir(target):
|
||||||
os.removedirs(target)
|
os.removedirs(target)
|
||||||
else:
|
else:
|
||||||
os.remove(target)
|
os.remove(target)
|
||||||
|
|||||||
Reference in New Issue
Block a user