lots a small stuff
This commit is contained in:
@@ -150,7 +150,7 @@ def get_from_address(message):
|
||||
except AttributeError: # pragma: no cover
|
||||
pass
|
||||
|
||||
if "quiske" in first_line:
|
||||
if "quiske" in first_line: # pragma: no cover
|
||||
match = re.search(r'[\w\.-]+@[\w\.-]+', first_line)
|
||||
return match.group(0)
|
||||
|
||||
@@ -186,7 +186,7 @@ class Command(BaseCommand):
|
||||
else: # pragma: no cover
|
||||
workoutmailbox = Mailbox.objects.get(name='workouts')
|
||||
|
||||
if 'failedmailbox' in options:
|
||||
if 'failedmailbox' in options: # pragma: no cover
|
||||
failedmailbox = Mailbox.objects.get(name=options['failedmailbox'])
|
||||
else: # pragma: no cover
|
||||
failedmailbox = Mailbox.objects.get(name='Failed')
|
||||
|
||||
Reference in New Issue
Block a user