Revert "Don't get page with 0 comment"

This reverts commit 4a5456b152.

This commit was here to bypass a bug of dlfp rss Atom.
The bug is fixed and the commit can be reverted.
Reference : http://linuxfr.org/suivi/855
This commit is contained in:
Florent 2012-03-23 12:01:45 +01:00 committed by Romain Bignon
commit 9bd7346261
2 changed files with 3 additions and 5 deletions

View file

@ -101,7 +101,7 @@ class DLFPBackend(BaseBackend, ICapMessages, ICapMessagesPost, ICapContent):
# Check if we have seen all comments of this thread.
oldhash = self.storage.get('hash', id, default="")
newhash = self.browser.get_hash(thread._rsscomment)
if not getseen and (oldhash == newhash or newhash is None):
if not getseen and oldhash == newhash:
return None
self.storage.set('hash', id, newhash)
self.storage.save()