iThere is a case where rcode could be accessed befor it's assigned. - 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 0c956d19ba6f9d2b84509837c040d290b0b47c46 /scm/zs//commit/0c956d19ba6f9d2b84509837c040d290b0b47c46.gph gopher.r-36.net 70 1parent 3c49b7042ccc63c7da80034dca7e568a425aa86a /scm/zs//commit/3c49b7042ccc63c7da80034dca7e568a425aa86a.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: Wed, 28 Oct 2015 07:14:51 +0100 Err gopher.r-36.net 70 i Err gopher.r-36.net 70 iThere is a case where rcode could be accessed befor it's assigned. Err gopher.r-36.net 70 i Err gopher.r-36.net 70 iDiffstat: Err gopher.r-36.net 70 i zs | 1 + Err gopher.r-36.net 70 i Err gopher.r-36.net 70 i1 file changed, 1 insertion(+), 0 deletions(-) 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@@ -49,6 +49,7 @@ def run(db, selfeed=None, dryrun=False, onlychanges=False): Err gopher.r-36.net 70 i if onlychanges != True: Err gopher.r-36.net 70 i print("fetch %s" % (feeduri)) Err gopher.r-36.net 70 i curfeed = None Err gopher.r-36.net 70 i+ rcode = 0 Err gopher.r-36.net 70 i try: Err gopher.r-36.net 70 i (rcode, curfeed) = feed.fetch(feeduri) Err gopher.r-36.net 70 i except socket.gaierror: Err gopher.r-36.net 70 .