Commit 9a657904 authored by jim's avatar jim

Fixed a typo for isdir.


git-svn-id: http://svn.zope.org/repos/main/zc.buildout/trunk@73346 62d5b8a3-27da-0310-9561-8e5933582275
parent 6336752e
......@@ -314,7 +314,7 @@ class Installer:
for d in dists:
newloc = os.path.join(dest, os.path.basename(d.location))
if os.path.exists(newloc):
if os.path.is_dir(newloc):
if os.path.isdir(newloc):
shutil.rmtree(newloc)
else:
os.remove(newloc)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment