aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/egg_info.py
diff options
context:
space:
mode:
authorPJ Eby <distutils-sig@python.org>2006-09-26 20:19:21 +0000
committerPJ Eby <distutils-sig@python.org>2006-09-26 20:19:21 +0000
commit1286031284718b85ce85465a583724b53373cd04 (patch)
tree98e80e690e3f66eb7941258206556865cb73e8ad /setuptools/command/egg_info.py
parente420a145ffc5db10b32a54584c7ba92d83a59b8a (diff)
downloadexternal_python_setuptools-1286031284718b85ce85465a583724b53373cd04.tar.gz
external_python_setuptools-1286031284718b85ce85465a583724b53373cd04.tar.bz2
external_python_setuptools-1286031284718b85ce85465a583724b53373cd04.zip
Should've used distutils.log.warn instead of warnings.warn
(backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4052009
Diffstat (limited to 'setuptools/command/egg_info.py')
-rwxr-xr-xsetuptools/command/egg_info.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/setuptools/command/egg_info.py b/setuptools/command/egg_info.py
index 1223385f..eae7312e 100755
--- a/setuptools/command/egg_info.py
+++ b/setuptools/command/egg_info.py
@@ -226,8 +226,7 @@ class egg_info(Command):
dirurl = urlre.search(data).group(1) # get repository URL
localrev = max([int(m.group(1)) for m in revre.finditer(data)])
else:
- from warnings import warn
- warn("unrecognized .svn/entries format; skipping "+base)
+ log.warn("unrecognized .svn/entries format; skipping %s", base)
dirs[:] = []
continue
if base==os.curdir:
@@ -244,6 +243,7 @@ class egg_info(Command):
+
def find_sources(self):
"""Generate SOURCES.txt manifest file"""
manifest_filename = os.path.join(self.egg_info,"SOURCES.txt")