aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/build_py.py
diff options
context:
space:
mode:
authorStefan H. Holek <stefan@epy.co.at>2012-10-08 20:37:54 +0200
committerStefan H. Holek <stefan@epy.co.at>2012-10-08 20:37:54 +0200
commit645b5b084aa46696b490344a038875f105793308 (patch)
tree40a63bf5ea4b6729075772f5ff8b041b486760b5 /setuptools/command/build_py.py
parent11270be66d228aacca12a211e3fdcb38988fb193 (diff)
downloadexternal_python_setuptools-645b5b084aa46696b490344a038875f105793308.tar.gz
external_python_setuptools-645b5b084aa46696b490344a038875f105793308.tar.bz2
external_python_setuptools-645b5b084aa46696b490344a038875f105793308.zip
Remove a missing fixer warning which showed during normal operations. Fixes #305.
--HG-- branch : distribute extra : rebase_source : 3e5912a80758abf1e198d400c29ab03112eb68d6
Diffstat (limited to 'setuptools/command/build_py.py')
-rw-r--r--setuptools/command/build_py.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/setuptools/command/build_py.py b/setuptools/command/build_py.py
index 505dd4f3..8751acd4 100644
--- a/setuptools/command/build_py.py
+++ b/setuptools/command/build_py.py
@@ -51,10 +51,8 @@ try:
if self.distribution.use_2to3_exclude_fixers is not None:
excluded_fixers.extend(self.distribution.use_2to3_exclude_fixers)
for fixer_name in excluded_fixers:
- if fixer_name not in self.fixer_names:
- log.warn("Excluded fixer %s not found", fixer_name)
- continue
- self.fixer_names.remove(fixer_name)
+ if fixer_name in self.fixer_names:
+ self.fixer_names.remove(fixer_name)
except ImportError:
class Mixin2to3: