pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/python/cpython/commit/71bd588646b282c9eebc390b31184a5bdb54e712

bpo-32155: Revert distutils.config change (#4618) · python/cpython@71bd588 · GitHub
Skip to content

Commit 71bd588

Browse files
authored
bpo-32155: Revert distutils.config change (#4618)
Revert distutils changes of the commit 696b501 and remove the realm variable.
1 parent fe2d5ba commit 71bd588

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

Lib/distutils/config.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ def _read_pypirc(self):
5151
if os.path.exists(rc):
5252
self.announce('Using PyPI login from %s' % rc)
5353
repository = self.repository or self.DEFAULT_REPOSITORY
54-
realm = self.realm or self.DEFAULT_REALM
5554

5655
config = RawConfigParser()
5756
config.read(rc)
@@ -77,7 +76,7 @@ def _read_pypirc(self):
7776
# optional params
7877
for key, default in (('repository',
7978
self.DEFAULT_REPOSITORY),
80-
('realm', realm),
79+
('realm', self.DEFAULT_REALM),
8180
('password', None)):
8281
if config.has_option(server, key):
8382
current[key] = config.get(server, key)
@@ -106,7 +105,7 @@ def _read_pypirc(self):
106105
'password': config.get(server, 'password'),
107106
'repository': repository,
108107
'server': server,
109-
'realm': realm}
108+
'realm': self.DEFAULT_REALM}
110109

111110
return {}
112111

Misc/NEWS.d/next/Library/2017-11-28-15-06-07.bpo-32155.hWHGww.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy