From 422682d8c44fb310e3431d56b2ee0a991ced72db Mon Sep 17 00:00:00 2001 From: "Stefan H. Holek" Date: Tue, 16 Oct 2012 13:08:55 +0200 Subject: Don't re-use FileList global name in egg_info.py. --HG-- branch : distribute extra : rebase_source : ac180d4a23ab4fc03c243aa92dd8e6bc42bdabeb --- 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 e1a8c9ad..e1aaa491 100755 --- a/setuptools/command/egg_info.py +++ b/setuptools/command/egg_info.py @@ -9,7 +9,7 @@ from distutils.errors import * from distutils import log from setuptools.command.sdist import sdist from distutils.util import convert_path -from distutils.filelist import FileList +from distutils.filelist import FileList as _FileList from pkg_resources import parse_requirements, safe_name, parse_version, \ safe_version, yield_lines, EntryPoint, iter_entry_points, to_filename from sdist import walk_revctrl @@ -274,7 +274,7 @@ class egg_info(Command): self.broken_egg_info = self.egg_info self.egg_info = bei # make it work for now -class FileList(FileList): +class FileList(_FileList): """File list that accepts only existing, platform-independent paths""" def append(self, item): -- cgit v1.2.3