summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Cross <hodgestar+hg@gmail.com>2010-04-15 16:42:44 +0200
committerSimon Cross <hodgestar+hg@gmail.com>2010-04-15 16:42:44 +0200
commit0ea37716d42ac4fdd855ef5792d4ce97be095554 (patch)
tree49923976bd47d2b8521cb74b840d3989d92a17c9
parentbaa49969fd9d562f4819e57e7312d87082d2c1df (diff)
downloadpip-0ea37716d42ac4fdd855ef5792d4ce97be095554.tar.gz
Add FIXME to factor out common code from locate_files and install_files.
-rw-r--r--pip/req.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pip/req.py b/pip/req.py
index fd591d846..bcd017a3d 100644
--- a/pip/req.py
+++ b/pip/req.py
@@ -770,6 +770,8 @@ class RequirementSet(object):
req.commit_uninstall()
def locate_files(self):
+ ## FIXME: duplicates code from install_files; relevant code should
+ ## probably be factored out into a separate method
unnamed = list(self.unnamed_requirements)
reqs = self.requirements.values()
while reqs or unnamed: