Fix append() calls with more than 1 argument.

This commit is contained in:
Guido van Rossum 1998-10-07 13:18:17 +00:00
parent bac609a69e
commit d832f9e425
1 changed files with 2 additions and 2 deletions

View File

@ -123,5 +123,5 @@ def _build_cmdtuple(path, cmdtuples):
if os.path.isdir(real_f) and not os.path.islink(real_f):
_build_cmdtuple(real_f, cmdtuples)
else:
cmdtuples.append(os.remove, real_f)
cmdtuples.append(os.rmdir, path)
cmdtuples.append((os.remove, real_f))
cmdtuples.append((os.rmdir, path))