diff options
author | Lennart Regebro <regebro@gmail.com> | 2009-09-22 17:25:53 +0200 |
---|---|---|
committer | Lennart Regebro <regebro@gmail.com> | 2009-09-22 17:25:53 +0200 |
commit | 7596dc0cf93965df85e36dcbca683270f5e9ded2 (patch) | |
tree | 243c8b0f84fff8d7076286cc47e472050b903660 /setuptools/command/build_py.py | |
parent | bec82b20d18cb0e81d305015307584abaa2b69bf (diff) | |
download | python-setuptools-git-7596dc0cf93965df85e36dcbca683270f5e9ded2.tar.gz |
Name changes of the parameters.
--HG--
branch : distribute
extra : rebase_source : fc921b526cda13b02a4bb0215f91ee04d03dca57
Diffstat (limited to 'setuptools/command/build_py.py')
-rw-r--r-- | setuptools/command/build_py.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/setuptools/command/build_py.py b/setuptools/command/build_py.py index 910d67c8..a01e2843 100644 --- a/setuptools/command/build_py.py +++ b/setuptools/command/build_py.py @@ -23,7 +23,7 @@ try: def run_2to3(self, files, doctests = False): # See of the distribution option has been set, otherwise check the # setuptools default. - if self.distribution.run_2to3 is not True and setuptools.run_2to3 is False: + if self.distribution.use_2to3 is not True: return if not files: return @@ -32,8 +32,8 @@ try: self.fixer_names = [] for p in setuptools.lib2to3_fixer_packages: 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: + if self.distribution.use_2to3_fixers is not None: + for p in self.distribution.use_2to3_fixers: self.fixer_names.extend(get_fixers_from_package(p)) if doctests: if setuptools.run_2to3_on_doctests: @@ -137,7 +137,7 @@ class build_py(_build_py, Mixin2to3): srcfile = os.path.join(src_dir, filename) outf, copied = self.copy_file(srcfile, target) srcfile = os.path.abspath(srcfile) - if copied and srcfile in self.distribution.convert_doctests_2to3: + if copied and srcfile in self.distribution.convert_2to3_doctests: self.__doctests_2to3.append(outf) |