# HG changeset patch # User Atul Varma # Date 1262551278 28800 # Node ID 193e1387957d5ed9c76f7fe1c6afe1e967881452 # Parent 5ab0068cff9d555ae41ad9bfe4655ed778bab851 force article urls to start with 'http' diff -r 5ab0068cff9d -r 193e1387957d publish_edition.py --- a/publish_edition.py Sun Jan 03 12:36:10 2010 -0800 +++ b/publish_edition.py Sun Jan 03 12:41:18 2010 -0800 @@ -109,7 +109,8 @@ 'pubDate': to_date_tuple(article['pub_date'])} for article in articles[author] if (article['pub_date'] > min_date - and article['url'] not in issues['urls']) + and article['url'] not in issues['urls'] + and article['url'].startswith('http')) ] total_potentials += len(potential_articles)