aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetter Reinholdtsen <pere@hungry.com>2016-04-06 14:06:52 +0200
committerPetter Reinholdtsen <pere@hungry.com>2016-04-06 14:06:52 +0200
commit24597fedc2c3acfc5e1d95ea8713f5e9964bec5e (patch)
tree7616e6a842cffd2c11c0c68b9ac5fbe7d76fd20e
parent467949c0157bc38aa43bde8f47fc5b4e1b811b25 (diff)
Typo.
-rw-r--r--scrapersources/postliste-oep2
1 files changed, 1 insertions, 1 deletions
diff --git a/scrapersources/postliste-oep b/scrapersources/postliste-oep
index 429a265..47ab693 100644
--- a/scrapersources/postliste-oep
+++ b/scrapersources/postliste-oep
@@ -340,7 +340,7 @@ def remove_original():
# SQL database.
def reparse_strange_entries(datastorage):
strange = "journalPostId FROM swdata WHERE caseid IS NULL OR scrapestamputc IS NULL OR agency IS NULL order by journalPostId"
- for idref in scraperwiki.sqlite.select(strage1):
+ for idref in scraperwiki.sqlite.select(strage):
id = idref['journalPostId']
if -1 == fetch_oep_entry(id, datastorage):
print "Refetching %d failed, flush ID" % id