From c430b091c98a86041641d865820b2da65c631753 Mon Sep 17 00:00:00 2001 From: Marius Halden Date: Sat, 18 Apr 2015 19:50:24 +0200 Subject: Well this is awkward, am I trying to write perl or something? --- push.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/push.py b/push.py index c6a2104..f23b0c3 100755 --- a/push.py +++ b/push.py @@ -53,7 +53,7 @@ for s in sender_map: else: break except KeyError: - next + continue else: print("Found no matching sender.", file=sys.stderr) sys.exit(1) @@ -70,7 +70,7 @@ for r in recipient_map: else: break except KeyError: - next + continue else: print("Found no matching receiver.", file=sys.stderr) sys.exit(1) @@ -125,7 +125,7 @@ for user_token in user_tokens: except AttributeError: pass except (IndexError, KeyError): - next # We should not get here (at least not from a KeyError) + continue # We should not get here (at least not from a KeyError) else: user_token = k -- cgit v1.2.3