Skip to content

Commit

Permalink
Really call getObjectInfo when determining updated status of FeedFeed…
Browse files Browse the repository at this point in the history
…erItems
  • Loading branch information
Tiberiu Ichim committed Sep 5, 2016
1 parent 9c5bcbe commit b4521ae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ History of feedfeeder
3.0.1 (unreleased)
------------------

- Nothing changed yet.
- Bug fix: really call getObjectInfo() when checking if an entry was updated.
This avoids unnecessary updates to FeedFeederItems
[tiberiuichim]


3.0.0 (2016-02-22)
Expand Down
2 changes: 1 addition & 1 deletion Products/feedfeeder/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def _retrieveSingleFeed(self, feedContainer, url):
# Not new, not refreshed: let it be, laddy. Still,
# the entry might have changed slightly, so we check
# this.
if prev.getObjectInfo != entry:
if prev.getObjectInfo() != entry:
# Note: no need for a reindexObject here, which
# would also update the modification date, which
# we do not want. See
Expand Down

0 comments on commit b4521ae

Please sign in to comment.