Skip to content
This repository has been archived by the owner on Jul 24, 2023. It is now read-only.

ax.AXKeyValueMessage.getSingle will never raise KeyError #20

Closed
evgeni opened this issue Jul 19, 2011 · 1 comment
Closed

ax.AXKeyValueMessage.getSingle will never raise KeyError #20

evgeni opened this issue Jul 19, 2011 · 1 comment

Comments

@evgeni
Copy link

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 :)

@timcappalli
Copy link
Member

This repo is being archived. Closing issue.

@timcappalli timcappalli closed this as not planned Won't fix, can't repro, duplicate, stale Jul 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants