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

Already on GitHub? Sign in to your account

ax.AXKeyValueMessage.getSingle will never raise KeyError #20

Open
evgeni opened this Issue Jul 19, 2011 · 0 comments

Comments

Projects
None yet
1 participant

evgeni commented Jul 19, 2011

https://github.com/openid/python-openid/blob/master/openid/extensions/ax.py#L546 says:
@raises KeyError: If the attribute was not sent in this response
However, KeyError is never raised explicitely and
values = self.data.get(type_uri) will return None when type_uri isn't found in data.

Either documentation or code should be edited :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment