aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/sdist.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/sdist.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/sdist.py')
-rwxr-xr-xsetuptools/command/sdist.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/setuptools/command/sdist.py b/setuptools/command/sdist.py
index fc5bdfb2..2b1d117e 100755
--- a/setuptools/command/sdist.py
+++ b/setuptools/command/sdist.py
@@ -95,8 +95,7 @@ def entries_finder(dirname, filename):
for match in entries_pattern.finditer(data):
yield joinpath(dirname,unescape(match.group(1)))
else:
- from warnings import warn
- warn("unrecognized .svn/entries format in "+dirname)
+ log.warn("unrecognized .svn/entries format in %s", dirname)
finders = [
@@ -121,6 +120,7 @@ finders = [
+
class sdist(_sdist):
"""Smart sdist that finds anything supported by revision control"""