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

MicrodataObject.get_links can return None incorrectly #7

Open
barkmadley opened this issue Nov 28, 2013 · 0 comments
Open

MicrodataObject.get_links can return None incorrectly #7

barkmadley opened this issue Nov 28, 2013 · 0 comments

Comments

@barkmadley
Copy link

If allow_multi is True, and there are multiple links for a particular relation then the code will fall through to the final return statement:
https://github.com/Comcast/htmlapi-client-python/blob/master/htmlapi_client.py#L278

This returns "out" which is undefined in this function. I believe it should be "links".

This looks like a copy/paste bug from Form._get_params, which does return "out".

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

1 participant