aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xpush.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/push.py b/push.py
index 8a035c4..c6a2104 100755
--- a/push.py
+++ b/push.py
@@ -1,5 +1,4 @@
#!/usr/local/bin/python3.4
-
import os
import re
import sys
@@ -103,7 +102,6 @@ if mail.is_multipart():
# A realy stupid fallback
payload = mail.get_payload(0)
encoding = mail.get_charsets()[0]
-
else:
# Hurray no multipart
payload = mail.get_payload(decode=True)
@@ -127,7 +125,7 @@ for user_token in user_tokens:
except AttributeError:
pass
except (IndexError, KeyError):
- next
+ next # We should not get here (at least not from a KeyError)
else:
user_token = k