diff options
author | Guido van Rossum <guido@python.org> | 1998-10-07 13:18:17 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-10-07 13:18:17 (GMT) |
commit | d832f9e4253c5ca2a7660725b12697b4619e3716 (patch) | |
tree | a47ded92d39a8206e136d8c34984f3ddc3bef920 /Lib | |
parent | bac609a69ec4560ece487f0654429197c7a16b2b (diff) | |
download | cpython-d832f9e4253c5ca2a7660725b12697b4619e3716.zip cpython-d832f9e4253c5ca2a7660725b12697b4619e3716.tar.gz cpython-d832f9e4253c5ca2a7660725b12697b4619e3716.tar.bz2 |
Fix append() calls with more than 1 argument.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/shutil.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/shutil.py b/Lib/shutil.py index 752c1ec..a248c6e 100644 --- a/Lib/shutil.py +++ b/Lib/shutil.py @@ -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)) |