From 3ad4ef1f994dcacc32b1a5f77d4c119ec0ce75af Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Sat, 13 Dec 2014 15:00:07 -0500 Subject: Remove superfluous list construction. --- setuptools/command/egg_info.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'setuptools/command/egg_info.py') diff --git a/setuptools/command/egg_info.py b/setuptools/command/egg_info.py index cbc30ff8..e7e4cd7e 100755 --- a/setuptools/command/egg_info.py +++ b/setuptools/command/egg_info.py @@ -345,9 +345,9 @@ class manifest_maker(sdist): (which is looking for the absolute cmd.egg_info) will match them. """ - self.filelist.allfiles.extend([ + self.filelist.allfiles.extend( os.path.join(cmd.egg_base, path) - for path in distutils.filelist.findall(cmd.egg_base)]) + for path in distutils.filelist.findall(cmd.egg_base)) def prune_file_list(self): build = self.get_finalized_command('build') -- cgit v1.2.3