From 397eda9b80e96fbd1a9fa494e34b6bfda963cdc1 Mon Sep 17 00:00:00 2001 From: "stefan@epy" Date: Mon, 5 Nov 2012 02:21:15 +0100 Subject: Python 3.0 has no surrogateescape. --HG-- branch : distribute extra : rebase_source : 83635f70b89fafb65f630947430b5c315cd9c80a --- setuptools/command/upload_docs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'setuptools/command/upload_docs.py') 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' -- cgit v1.2.3