diff options
Diffstat (limited to 'Lib/distutils/config.py')
-rw-r--r-- | Lib/distutils/config.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/distutils/config.py b/Lib/distutils/config.py index 4186c9b..9166199 100644 --- a/Lib/distutils/config.py +++ b/Lib/distutils/config.py @@ -82,12 +82,12 @@ class PyPIRCCommand(Command): for server in _servers: current = {'server': server} current['username'] = config.get(server, 'username') - current['password'] = config.get(server, 'password') # optional params for key, default in (('repository', self.DEFAULT_REPOSITORY), - ('realm', self.DEFAULT_REALM)): + ('realm', self.DEFAULT_REALM), + ('password', None)): if config.has_option(server, key): current[key] = config.get(server, key) else: |