classification
Title: register command forgets password if no config file is created
Type: behavior Stage: patch review
Components: Distutils Versions: Python 3.2, Python 3.3, Python 3.4, Python 2.7
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: eric.araujo Nosy List: eric.araujo, tarek, techtonik
Priority: normal Keywords: patch

Created on 2012-11-13 18:02 by techtonik, last changed 2012-11-13 18:52 by eric.araujo.

Files
File name Uploaded Description Edit
test_register.py.2.diff techtonik, 2012-11-13 18:02
register.py.2.diff techtonik, 2012-11-13 18:05
Messages (3)
msg175512 - (view) Author: anatoly techtonik (techtonik) Date: 2012-11-13 18:02
Given:

1. there is no .pypirc
2. users enters credentials to register command
3. user refuses to create .pypirc

Outcome:

password is not being stored and subsequent (upload) command doesn't get it.

Attached is the test case.
msg175513 - (view) Author: anatoly techtonik (techtonik) Date: 2012-11-13 18:05
Fix is attached.
msg175518 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2012-11-13 18:52
Thanks.  I remember previous discussion about this (mailing list or bug), I’ll look for it before applying.
History
Date User Action Args
2012-11-13 18:52:00eric.araujosettype: behavior
stage: patch review
messages: + msg175518
versions: + Python 3.2, Python 3.3, Python 3.4
2012-11-13 18:05:15techtoniksetfiles: + register.py.2.diff

messages: + msg175513
2012-11-13 18:02:39techtonikcreate