iIn case something goes wrong with articles, do not bail. - zs - Zeitungsschau rss to email converter Err gopher.r-36.net 70 i Err gopher.r-36.net 70 1Log /scm/zs//log.gph gopher.r-36.net 70 1Files /scm/zs//files.gph gopher.r-36.net 70 1Refs /scm/zs//refs.gph gopher.r-36.net 70 1LICENSE /scm/zs//file/LICENSE.gph gopher.r-36.net 70 i--- Err gopher.r-36.net 70 1commit da06d30ff47031e7ddf40b37d841586ac9bd9c48 /scm/zs//commit/da06d30ff47031e7ddf40b37d841586ac9bd9c48.gph gopher.r-36.net 70 1parent db76e2d4316c29fc03b843e7339f3b1ecb31fc08 /scm/zs//commit/db76e2d4316c29fc03b843e7339f3b1ecb31fc08.gph gopher.r-36.net 70 hAuthor: Christoph Lohmann <20h@r-36.net> URL:mailto:20h@r-36.net gopher.r-36.net 70 iDate: Tue, 23 May 2017 20:12:57 +0200 Err gopher.r-36.net 70 i Err gopher.r-36.net 70 iIn case something goes wrong with articles, do not bail. Err gopher.r-36.net 70 i Err gopher.r-36.net 70 iDiffstat: Err gopher.r-36.net 70 i zs | 6 +++++- Err gopher.r-36.net 70 i Err gopher.r-36.net 70 i1 file changed, 5 insertions(+), 1 deletion(-) Err gopher.r-36.net 70 i--- Err gopher.r-36.net 70 1diff --git a/zs b/zs /scm/zs//file/zs.gph gopher.r-36.net 70 i@@ -95,7 +95,11 @@ def run(db, selfeed=None, dryrun=False, onlychanges=False): Err gopher.r-36.net 70 i elif retries > 0: Err gopher.r-36.net 70 i db.setretry(feeduri, 0) Err gopher.r-36.net 70 i Err gopher.r-36.net 70 i- clen = len(curfeed["articles"]) Err gopher.r-36.net 70 i+ try: Err gopher.r-36.net 70 i+ clen = len(curfeed["articles"]) Err gopher.r-36.net 70 i+ except AttributeError: Err gopher.r-36.net 70 i+ continue Err gopher.r-36.net 70 i+ Err gopher.r-36.net 70 i if clen == 0: Err gopher.r-36.net 70 i # This is no target anymore. Thanks NATO for your Err gopher.r-36.net 70 i # crappy RSS feed! Err gopher.r-36.net 70 .