Commit 15a0f215 authored by Martin v. Löwis's avatar Martin v. Löwis

Deal with convert_doctests_2to3 not being set.

--HG--
branch : distribute
extra : rebase_source : c1952763f89af6f9c5e25e67982b96756d7336e3
parent ddd787ae
...@@ -255,7 +255,7 @@ class Distribution(_Distribution): ...@@ -255,7 +255,7 @@ class Distribution(_Distribution):
if value is not None: if value is not None:
ep.require(installer=self.fetch_build_egg) ep.require(installer=self.fetch_build_egg)
ep.load()(self, ep.name, value) ep.load()(self, ep.name, value)
if self.convert_doctests_2to3: if getattr(self, 'convert_doctests_2to3', None):
# XXX may convert to set here when we can rely on set being builtin # XXX may convert to set here when we can rely on set being builtin
self.convert_doctests_2to3 = [os.path.abspath(p) for p in self.convert_doctests_2to3] self.convert_doctests_2to3 = [os.path.abspath(p) for p in self.convert_doctests_2to3]
else: else:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment