--- C:/Python27/Lib/distutils/command/register.py.orig Fri Feb 24 22:58:20 2012 +++ C:/Python27/Lib/distutils/command/register.py Tue Nov 13 21:04:12 2012 @@ -169,13 +169,13 @@ self.announce('Server response (%s): %s' % (code, result), log.INFO) - # possibly save the login if code == 200: - if self.has_config: - # sharing the password in the distribution instance - # so the upload command can reuse it - self.distribution.password = password - else: + # share the password in the distribution instance + # so the upload command can reuse it + self.distribution.password = password + + # possibly save the login + if not self.has_config: self.announce(('I can store your PyPI login so future ' 'submissions will be faster.'), log.INFO) self.announce('(the login will be stored in %s)' % \