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

Fix Python 3 unorderable types issue with multiple themes #506

Merged
merged 1 commit into from
Sep 4, 2017
Merged

Fix Python 3 unorderable types issue with multiple themes #506

merged 1 commit into from
Sep 4, 2017

Conversation

joshmorel
Copy link
Contributor

This is to resolve #483

{% for article in articles | sort %} resulted in an error in Python 3:

"CRITICAL: unorderable types: Article() < Article()"

I tested with Pelican 3.7.1 in both Python 2.7 & 3.5.

{% for article in articles | sort %} resulted in:

"CRITICAL: unorderable types: Article() < Article()"
@justinmayer justinmayer changed the title Fix Python 3 unorderable types issue Fix Python 3 unorderable types issue with multiple themes Sep 4, 2017
@justinmayer
Copy link
Member

Apologies for the delay in merging. Many thanks for the fix, Josh.

@justinmayer justinmayer merged commit efb323d into getpelican:master Sep 4, 2017
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.

Python 3.4 processing of content results in CRITICAL: unorderable types: Article() < Article()
2 participants