# HG changeset patch # User Malcolm Matalka # Date 1587580698 -7200 # Wed Apr 22 20:38:18 2020 +0200 # Node ID 6aff5b58a671ddf71e1c61109d288a8f26d8e0bb # Parent 822b0f8361d88e5cd57f7dc2c8b443f510e72186 ADD Log new posts for debugging diff --git a/feed2maildir/converter.py b/feed2maildir/converter.py --- a/feed2maildir/converter.py +++ b/feed2maildir/converter.py @@ -135,6 +135,9 @@ except: # it is naive feedtime = feedtime.replace(tzinfo=dateutil.tz.tzutc()) if not oldtime or oldtime < feedtime: + self.output('Oldtime : {} : Feedtime: {} : Link : {}'.format(oldtime, + feedtime, + post.link)) try: # to append the post the the feed-list new[feedname].append(post) except: # it is the first one, make a new list