mirror of
https://github.com/python/cpython.git
synced 2025-08-25 19:24:42 +00:00
Merged revisions 79191 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r79191 | florent.xicluna | 2010-03-21 13:50:17 +0200 (Sun, 21 Mar 2010) | 3 lines No more deprecation warnings for distutils.sysconfig, following r78666. But when the "dl" module is available, it gives a py3k deprecation warning. ........
This commit is contained in:
parent
55624a2261
commit
e511c6ce8d
6 changed files with 13 additions and 12 deletions
|
@ -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 abspath in _path_created:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue