From b38fddba2dd3ce4c67729ec596953e8bcf85f845 Mon Sep 17 00:00:00 2001 From: Marius Halden Date: Fri, 17 Apr 2015 01:10:36 +0200 Subject: Comments --- push.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'push.py') 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 -- cgit v1.2.3