From c44c211541bb33d263acd58f09e51088f15fd5c5 Mon Sep 17 00:00:00 2001 From: Hanno Schlichting Date: Thu, 16 Jul 2009 18:36:04 +0200 Subject: Corrected inconsitency between documentation and code of add_entry. This closes #8. --HG-- branch : distribute extra : rebase_source : b38177940dc7df122d6faa535f32025e241fc129 --- pkg_resources.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg_resources.py') diff --git a/pkg_resources.py b/pkg_resources.py index 24b91902..87072b4d 100644 --- a/pkg_resources.py +++ b/pkg_resources.py @@ -387,7 +387,7 @@ class WorkingSet(object): def add_entry(self, entry): """Add a path item to ``.entries``, finding any distributions on it - ``find_distributions(entry,False)`` is used to find distributions + ``find_distributions(entry,True)`` is used to find distributions corresponding to the path entry, and they are added. `entry` is always appended to ``.entries``, even if it is already present. (This is because ``sys.path`` can contain the same value more than -- cgit v1.2.1