aboutsummaryrefslogtreecommitdiffstats
path: root/push.py
diff options
context:
space:
mode:
Diffstat (limited to 'push.py')
-rwxr-xr-xpush.py6
1 files 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