mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Fix append() calls with more than 1 argument.
This commit is contained in:
parent
bac609a69e
commit
d832f9e425
1 changed files with 2 additions and 2 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue