Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KeyError: u'respository' (typo) during register #146

Closed
mauritsvanrees opened this issue Oct 26, 2015 · 3 comments
Closed

KeyError: u'respository' (typo) during register #146

mauritsvanrees opened this issue Oct 26, 2015 · 3 comments
Milestone

Comments

@mauritsvanrees
Copy link
Contributor

See this line:
https://github.com/pypa/twine/blob/master/twine/commands/register.py#L50
We try to read the key respository instead of repository.
Result (with a wrongly configured pypirc that has a redirect):

$ twine register -r testpypi dist/mauritstestpackage-1.6.tar.gz 
Registering package to https://testpypi.python.org
Registering mauritstestpackage-1.6.tar.gz
KeyError: u'respository'
sigmavirus24 added a commit to sigmavirus24/twine that referenced this issue Oct 28, 2015
We previously tried to access the key 'respository' instead of
'repository'. This also corrects the message to indicate the correct
action (registration, not upload).

Closes pypa#146
@sigmavirus24
Copy link
Member

Thanks @mauritsvanrees

@sigmavirus24 sigmavirus24 modified the milestone: 1.6.4 Oct 28, 2015
@sigmavirus24
Copy link
Member

This has been fixed and 1.6.4 was released tonight.

@mauritsvanrees
Copy link
Contributor Author

Thanks. Well spotted about the other textual error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants