feed emails: ignore commits lists
This commit is contained in:
parent
cd74feb4a1
commit
6055f35517
|
@ -16,6 +16,8 @@ class Command(BaseCommand):
|
|||
|
||||
def handle(self, *args, **options):
|
||||
for maildir in options.get('maildir'):
|
||||
if 'commits' in maildir:
|
||||
continue
|
||||
box = mailbox.Maildir(maildir, create=False)
|
||||
for message_id in box.iterkeys():
|
||||
message = box[message_id]
|
||||
|
|
Reference in New Issue