aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/python/python-setuptools/fix-log-usage.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/python/python-setuptools/fix-log-usage.patch')
-rw-r--r--recipes/python/python-setuptools/fix-log-usage.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes/python/python-setuptools/fix-log-usage.patch b/recipes/python/python-setuptools/fix-log-usage.patch
new file mode 100644
index 0000000000..6363c850c2
--- /dev/null
+++ b/recipes/python/python-setuptools/fix-log-usage.patch
@@ -0,0 +1,13 @@
+Index: setuptools-0.6c8/setuptools/command/sdist.py
+===================================================================
+--- setuptools-0.6c8.orig/setuptools/command/sdist.py
++++ setuptools-0.6c8/setuptools/command/sdist.py
+@@ -95,7 +95,7 @@ def entries_finder(dirname, filename):
+ for match in entries_pattern.finditer(data):
+ yield joinpath(dirname,unescape(match.group(1)))
+ else:
+- log.warn("unrecognized .svn/entries format in %s", dirname)
++ print ("unrecognized .svn/entries format in %s", dirname)
+
+
+ finders = [