Browse files

Fix intrasite links substitions in content

The Content.__eq__ method would indirectly call _update_content too
soon, resulting in failed intrasite links substitution
This effectively reverts fd77926
for pelican/, it was unnecessary anyways.
Thanks to Strom for finding this.
  • Loading branch information...
smartass101 committed May 9, 2014
1 parent cd40105 commit 9a753f4fa97c6b086ba8129043b00d1fba55290e
Showing with 0 additions and 7 deletions.
  1. +0 −7 pelican/
@@ -325,13 +325,6 @@ def relative_dir(self):
def __eq__(self, other):
"""Compare with metadata and content of other Content object"""
return other and self.metadata == other.metadata and self.content == other.content
# keep basic hashing functionality for caching to work
__hash__ = object.__hash__
class Page(Content):
mandatory_properties = ('title',)

0 comments on commit 9a753f4

Please sign in to comment.