Mercurial > hg > Feedworm
comparison backend/AbstractFeedUpdater.py @ 213:524cbf9e413c
use correct TODO tags so they show up in the tasks view in Eclipse
author | dirk |
---|---|
date | Wed, 28 Nov 2012 01:53:29 +0100 |
parents | f74fe7cb5091 |
children | bb3c851b18b1 |
comparison
equal
deleted
inserted
replaced
212:1262b1168f1f | 213:524cbf9e413c |
---|---|
62 if hasattr(entry, "updated"): | 62 if hasattr(entry, "updated"): |
63 entry.published = entry.updated | 63 entry.published = entry.updated |
64 | 64 |
65 def _normalizeUpdatedDate(self, entry): | 65 def _normalizeUpdatedDate(self, entry): |
66 if not hasattr(entry, "updated_parsed") or entry.updated_parsed is None: | 66 if not hasattr(entry, "updated_parsed") or entry.updated_parsed is None: |
67 # TODO try to parse the entry.updated date string | 67 # TODO: try to parse the entry.updated date string |
68 entry.updated_parsed = datetime.today() | 68 entry.updated_parsed = datetime.today() |
69 else: | 69 else: |
70 entry.updated_parsed = datetime(*entry.updated_parsed[:6]) | 70 entry.updated_parsed = datetime(*entry.updated_parsed[:6]) |
71 | 71 |
72 def _normalizeSummary(self, entry): | 72 def _normalizeSummary(self, entry): |