diff options
| author | ?ric Araujo <merwok@netwok.org> | 2010-08-08 02:48:27 +0200 |
|---|---|---|
| committer | ?ric Araujo <merwok@netwok.org> | 2010-08-08 02:48:27 +0200 |
| commit | 760df097438dff3b81fc0d12a4cddcf723dbf6c4 (patch) | |
| tree | 137616b810ebca712b7e8b6cc511fe96a39e6eb6 /src/distutils2/command | |
| parent | ed993217835aac361f665cbc6a46414466f83b4b (diff) | |
| download | disutils2-760df097438dff3b81fc0d12a4cddcf723dbf6c4.tar.gz | |
Style nitpicks
Diffstat (limited to 'src/distutils2/command')
| -rw-r--r-- | src/distutils2/command/build_py.py | 6 | ||||
| -rw-r--r-- | src/distutils2/command/sdist.py | 1 |
2 files changed, 2 insertions, 5 deletions
diff --git a/src/distutils2/command/build_py.py b/src/distutils2/command/build_py.py index 505ffdd..1a9d18b 100644 --- a/src/distutils2/command/build_py.py +++ b/src/distutils2/command/build_py.py @@ -375,8 +375,7 @@ class build_py(Command, Mixin2to3): sources += [ os.path.join(src_dir, filename) for package, src_dir, build_dir, filenames in self.data_files - for filename in filenames - ] + for filename in filenames] return sources def get_module_outfile(self, build_dir, package, module): @@ -399,8 +398,7 @@ class build_py(Command, Mixin2to3): outputs += [ os.path.join(build_dir, filename) for package, src_dir, build_dir, filenames in self.data_files - for filename in filenames - ] + for filename in filenames] return outputs diff --git a/src/distutils2/command/sdist.py b/src/distutils2/command/sdist.py index 464c7fe..4e7764c 100644 --- a/src/distutils2/command/sdist.py +++ b/src/distutils2/command/sdist.py @@ -238,7 +238,6 @@ class sdist(Command): for cmd_name in self.distribution.get_command_names(): cmd_obj = self.get_finalized_command(cmd_name) self.filelist.extend(cmd_obj.get_source_files()) - def prune_file_list(self): """Prune off branches that might slip into the file list as created |
