aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/upload_docs.py
diff options
context:
space:
mode:
authorstefan@epy <stefan@epy>2012-11-05 02:21:15 +0100
committerstefan@epy <stefan@epy>2012-11-05 02:21:15 +0100
commit397eda9b80e96fbd1a9fa494e34b6bfda963cdc1 (patch)
tree363d282ecd293a07f0d178f7e4a8abd15c2f05e0 /setuptools/command/upload_docs.py
parent19a723890b724f92b8c42b162cea2a4052a746f2 (diff)
downloadexternal_python_setuptools-397eda9b80e96fbd1a9fa494e34b6bfda963cdc1.tar.gz
external_python_setuptools-397eda9b80e96fbd1a9fa494e34b6bfda963cdc1.tar.bz2
external_python_setuptools-397eda9b80e96fbd1a9fa494e34b6bfda963cdc1.zip
Python 3.0 has no surrogateescape.
--HG-- branch : distribute extra : rebase_source : 83635f70b89fafb65f630947430b5c315cd9c80a
Diffstat (limited to 'setuptools/command/upload_docs.py')
-rw-r--r--setuptools/command/upload_docs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/command/upload_docs.py b/setuptools/command/upload_docs.py
index c43b0f42..e21a88ce 100644
--- a/setuptools/command/upload_docs.py
+++ b/setuptools/command/upload_docs.py
@@ -25,7 +25,7 @@ try:
except ImportError:
from setuptools.command.upload import upload
-if sys.version_info >= (3,):
+if sys.version_info >= (3, 1):
errors = 'surrogateescape'
else:
errors = 'strict'