mail: add 1.8 compat to feed_mail management command

This commit is contained in:
Frédéric Péters 2016-04-12 13:07:14 +02:00
parent 7fc8a4a6dc
commit 95714fe50d
1 changed files with 2 additions and 0 deletions

View File

@ -22,6 +22,8 @@ from django.core.management.base import BaseCommand, CommandError
from ...models import Mail
class Command(BaseCommand):
args = ['...']
def handle(self, *args, **kwargs):
count = 0
for filepath in args: