feed: fix id fallback in Feed._process_entry
authorW. Trevor King <wking@tremily.us>
Tue, 11 Dec 2012 01:07:35 +0000 (20:07 -0500)
committerW. Trevor King <wking@tremily.us>
Tue, 11 Dec 2012 01:07:35 +0000 (20:07 -0500)
commit6a85dc823222494d9d2f5cd98efd1a0666b0bd82
tree5d97d1a6c45d9f8deb9dd23949748bf4b7da1c85
parent0a947fc43bbea1415694a58036e738f1680e3355
feed: fix id fallback in Feed._process_entry

The old `entry['id'] or _id` raised a KeyError when the entry lacked
an ID.  The new `entry.get('id', _id)` falls back appropriately.

Signed-off-by: W. Trevor King <wking@tremily.us>
rss2email/feed.py