Skip to content

Conversation

@avalanchy
Copy link

Reproduces and fixes issue #58

buriy added a commit that referenced this pull request May 6, 2015
Failure if best_elem is root (fix #58)
Thanks a lot @avalanchy and @jnothman !
@buriy buriy merged commit 1cb17d9 into buriy:master May 6, 2015
@avalanchy avalanchy deleted the best_elem_is_root branch May 6, 2015 08:03
@avalanchy
Copy link
Author

@buriy: I just wanna pin on this change to my project. Can I expect release to pypi in this week? If not I will just reference this directly from github.

@buriy
Copy link
Owner

buriy commented May 6, 2015

Yes, I'll do a release 0.6 by the end of the week (most probably, tomorrow) after checking if all the changes work fine and fixing several remaining logging issues.
I'll make a release 0.5.1 with this change right now.

@buriy
Copy link
Owner

buriy commented May 6, 2015

".../python-readability/readability/readability.py:216: FutureWarning: The behavior of this method will change in future versions. Use specific 'len(elem)' or 'elem is not None' test instead.
siblings = parent.getchildren() if parent else [best_elem]"
Fixed that.

buriy added a commit that referenced this pull request May 6, 2015
@avalanchy
Copy link
Author

It just build up with my project. Thanks!

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

Successfully merging this pull request may close these issues.

2 participants