diff options
| author | Neal Norwitz <nnorwitz@gmail.com> | 2006-03-17 08:00:19 +0000 |
|---|---|---|
| committer | Neal Norwitz <nnorwitz@gmail.com> | 2006-03-17 08:00:19 +0000 |
| commit | 6811c9d7ad4341ea3769490502cd805ce400eb09 (patch) | |
| tree | fe49db859c699ab3efd734155ae8b507c084f7c4 /dir_util.py | |
| parent | 79b3a97173af4724fe2c4b437a12ce760960f718 (diff) | |
| download | python-setuptools-git-6811c9d7ad4341ea3769490502cd805ce400eb09.tar.gz | |
Remove apply()
Diffstat (limited to 'dir_util.py')
| -rw-r--r-- | dir_util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dir_util.py b/dir_util.py index 43994db3..a4aff58e 100644 --- a/dir_util.py +++ b/dir_util.py @@ -204,7 +204,7 @@ def remove_tree (directory, verbose=0, dry_run=0): _build_cmdtuple(directory, cmdtuples) for cmd in cmdtuples: try: - apply(cmd[0], (cmd[1],)) + cmd[0](cmd[1]) # remove dir from cache if it's already there abspath = os.path.abspath(cmd[1]) if _path_created.has_key(abspath): |
