aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetter Reinholdtsen <pere@hungry.com>2015-01-04 12:56:18 +0100
committerPetter Reinholdtsen <pere@hungry.com>2015-01-04 12:57:36 +0100
commit2d0ff948cd01c6d8a5a8348cfc1830a6a092d5c0 (patch)
tree7940928ebcc916fee79b1e0a85bab5d2f8acba0f
parenta16c2c6dade926a77d4748d69acbbbae87c61ce7 (diff)
Make sure errors are reported.
-rw-r--r--scrapersources/postliste-sivilombudsmannen1
1 files changed, 0 insertions, 1 deletions
diff --git a/scrapersources/postliste-sivilombudsmannen b/scrapersources/postliste-sivilombudsmannen
index 10c01e6..4130091 100644
--- a/scrapersources/postliste-sivilombudsmannen
+++ b/scrapersources/postliste-sivilombudsmannen
@@ -34,7 +34,6 @@ def out_of_cpu(arg, spent, hard, soft):
report_errors(arg)
def process_pdf(parser, pdfurl, errors):
- errors = []
postlistelib.exit_if_no_cpu_left(0, out_of_cpu, errors)
try:
pdfcontent = scraperwiki.scrape(pdfurl)