aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/sandbox.py
diff options
context:
space:
mode:
authorTarek Ziade <tarek@ziade.org>2010-05-06 18:14:53 +0200
committerTarek Ziade <tarek@ziade.org>2010-05-06 18:14:53 +0200
commit6695e537c69743d1ef1b0e2c62b7bc7734e66446 (patch)
tree694866827eaebe26c75b080b09a89ede0c08901f /setuptools/sandbox.py
parentec003ad49247813ba1fbbaed4a541c99cf0ac4f3 (diff)
downloadexternal_python_setuptools-6695e537c69743d1ef1b0e2c62b7bc7734e66446.tar.gz
external_python_setuptools-6695e537c69743d1ef1b0e2c62b7bc7734e66446.tar.bz2
external_python_setuptools-6695e537c69743d1ef1b0e2c62b7bc7734e66446.zip
we want any(), not all()
--HG-- branch : distribute extra : rebase_source : c740917424bbc5efdfb91360399f1f17a09ea3a1
Diffstat (limited to 'setuptools/sandbox.py')
-rwxr-xr-xsetuptools/sandbox.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/sandbox.py b/setuptools/sandbox.py
index 13cbe109..c2f14e7f 100755
--- a/setuptools/sandbox.py
+++ b/setuptools/sandbox.py
@@ -209,7 +209,7 @@ class DirectorySandbox(AbstractSandbox):
def _exempted(self, filepath):
exception_matches = map(filepath.startswith, self._exceptions)
- return False not in exception_matches
+ return True in exception_matches
def _remap_input(self,operation,path,*args,**kw):
"""Called for path inputs"""