diff options
| author | Tarek Ziadé <ziade.tarek@gmail.com> | 2009-01-09 00:15:45 +0000 |
|---|---|---|
| committer | Tarek Ziadé <ziade.tarek@gmail.com> | 2009-01-09 00:15:45 +0000 |
| commit | 5b32d845dc21e255e9b1d40c5aa7b12aa9149271 (patch) | |
| tree | 5638596345df569a11bf34de41e25b2dc6e93eef /config.py | |
| parent | 7da96ed6b364ce84ab7b0f2c563fda2779f641ec (diff) | |
| download | python-setuptools-git-5b32d845dc21e255e9b1d40c5aa7b12aa9149271.tar.gz | |
Merged revisions 68415 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68415 | tarek.ziade | 2009-01-09 00:56:31 +0100 (Fri, 09 Jan 2009) | 1 line
fixed #4394 make the storage of the password optional in .pypirc
........
Diffstat (limited to 'config.py')
| -rw-r--r-- | config.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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: |
