Fix append() calls with more than 1 argument.
This commit is contained in:
parent
bac609a69e
commit
d832f9e425
|
@ -123,5 +123,5 @@ def _build_cmdtuple(path, cmdtuples):
|
||||||
if os.path.isdir(real_f) and not os.path.islink(real_f):
|
if os.path.isdir(real_f) and not os.path.islink(real_f):
|
||||||
_build_cmdtuple(real_f, cmdtuples)
|
_build_cmdtuple(real_f, cmdtuples)
|
||||||
else:
|
else:
|
||||||
cmdtuples.append(os.remove, real_f)
|
cmdtuples.append((os.remove, real_f))
|
||||||
cmdtuples.append(os.rmdir, path)
|
cmdtuples.append((os.rmdir, path))
|
||||||
|
|
Loading…
Reference in New Issue