diff options
author | "Brett Cannon ext:(%22) <brett@python.org> | 2010-01-17 12:55:33 -0800 |
---|---|---|
committer | "Brett Cannon ext:(%22) <brett@python.org> | 2010-01-17 12:55:33 -0800 |
commit | 8b1e0905135c56a9f66d5d6043ba33ac4ffab435 (patch) | |
tree | 4b35bc3d869a7a5a9f9d5c0ba1b6b3a2cbd3278a | |
parent | eca7db803f7c10ebce0a16e982351fbdd60c3321 (diff) | |
download | external_python_setuptools-8b1e0905135c56a9f66d5d6043ba33ac4ffab435.tar.gz external_python_setuptools-8b1e0905135c56a9f66d5d6043ba33ac4ffab435.tar.bz2 external_python_setuptools-8b1e0905135c56a9f66d5d6043ba33ac4ffab435.zip |
Add back in a missing space between "Basic" and the base64-encoded
credentials for uploading docs.
--HG--
branch : distribute
extra : rebase_source : 0de13aa44d415d7afef4218190ef0742999630ff
-rw-r--r-- | setuptools/command/upload_docs.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/setuptools/command/upload_docs.py b/setuptools/command/upload_docs.py index 566a7268..46e06bc6 100644 --- a/setuptools/command/upload_docs.py +++ b/setuptools/command/upload_docs.py @@ -78,10 +78,10 @@ class upload_docs(upload): credentials = self.username + ':' + self.password try: # base64 only works with bytes in Python 3. encoded_creds = base64.encodebytes(credentials.encode('utf8')) - auth = b"Basic" + auth = b"Basic " except AttributeError: encoded_creds = base64.encodestring(credentials) - auth = "Basic" + auth = "Basic " auth += encoded_creds.strip() # Build up the MIME payload for the POST data |