Mercurial > cpython-lru_cache-weakref
diff Lib/packaging/command/upload_docs.py @ 72404:a400c1c087dd
Make a number of small changes to ease the backport to distutils2
| author | Éric Araujo <merwok@netwok.org> |
|---|---|
| date | Sun, 18 Sep 2011 20:11:48 +0200 |
| parents | c2785ed52ed4 |
| children |
line wrap: on
line diff
--- a/Lib/packaging/command/upload_docs.py Sun Sep 18 17:00:38 2011 +0200 +++ b/Lib/packaging/command/upload_docs.py Sun Sep 18 20:11:48 2011 +0200 @@ -87,6 +87,7 @@ content_type, body = encode_multipart(fields, files) credentials = self.username + ':' + self.password + # FIXME should use explicit encoding auth = b"Basic " + base64.encodebytes(credentials.encode()).strip() logger.info("Submitting documentation to %s", self.repository)
