Commit 98ab5c90 authored by PJ Eby's avatar PJ Eby

Fix a bug introduced by removing the Environment.get() method.

--HG--
branch : setuptools
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041201
parent a20ad75b
......@@ -822,7 +822,7 @@ See the setuptools documentation for the "develop" command for more info.
if self.pth_file is None:
return
for d in self.pth_file.get(dist.key,()): # drop old entries
for d in self.pth_file[dist.key]: # drop old entries
if self.multi_version or d.location != dist.location:
log.info("Removing %s from easy-install.pth file", d)
self.pth_file.remove(d)
......
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