aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command
diff options
context:
space:
mode:
authorLennart Regebro <regebro@gmail.com>2009-09-19 22:39:32 +0200
committerLennart Regebro <regebro@gmail.com>2009-09-19 22:39:32 +0200
commit95159c09e5bb2d1dc1f0ccf89ccbe90ecc6871a0 (patch)
tree2e3317fdec9131827139559e7a0ba8fb41708be5 /setuptools/command
parent3736fee0faddbbc93fa6b7a1b233d4c2dcf11d76 (diff)
downloadexternal_python_setuptools-95159c09e5bb2d1dc1f0ccf89ccbe90ecc6871a0.tar.gz
external_python_setuptools-95159c09e5bb2d1dc1f0ccf89ccbe90ecc6871a0.tar.bz2
external_python_setuptools-95159c09e5bb2d1dc1f0ccf89ccbe90ecc6871a0.zip
Fixed a daft bug (my fault).
--HG-- branch : distribute extra : rebase_source : 82e1e503282ced638da32690291923613a74e930
Diffstat (limited to 'setuptools/command')
-rw-r--r--setuptools/command/build_py.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/setuptools/command/build_py.py b/setuptools/command/build_py.py
index 94f66741..910d67c8 100644
--- a/setuptools/command/build_py.py
+++ b/setuptools/command/build_py.py
@@ -32,8 +32,9 @@ try:
self.fixer_names = []
for p in setuptools.lib2to3_fixer_packages:
self.fixer_names.extend(get_fixers_from_package(p))
- for p in self.distribution.additional_2to3_fixers:
- self.fixer_names.extend(get_fixers_from_package(p))
+ if self.distribution.additional_2to3_fixers is not None:
+ for p in self.distribution.additional_2to3_fixers:
+ self.fixer_names.extend(get_fixers_from_package(p))
if doctests:
if setuptools.run_2to3_on_doctests:
r = DistutilsRefactoringTool(self.fixer_names)