Commit 4df0db1d authored by Jim Fulton's avatar Jim Fulton

Fixed a typo for isdir.

parent 43194ea0
...@@ -314,7 +314,7 @@ class Installer: ...@@ -314,7 +314,7 @@ class Installer:
for d in dists: for d in dists:
newloc = os.path.join(dest, os.path.basename(d.location)) newloc = os.path.join(dest, os.path.basename(d.location))
if os.path.exists(newloc): if os.path.exists(newloc):
if os.path.is_dir(newloc): if os.path.isdir(newloc):
shutil.rmtree(newloc) shutil.rmtree(newloc)
else: else:
os.remove(newloc) 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