Commit d71433e2 by Feanil Patel Committed by Sarina Canelake

Address comments.

parent 934207bf
...@@ -58,13 +58,10 @@ class Command(BaseCommand): ...@@ -58,13 +58,10 @@ class Command(BaseCommand):
def handle(self, *args, **options): def handle(self, *args, **options):
key, list_id, course_id, nsegments = self.parse_options(options) key, list_id, course_id, nsegments = self.parse_options(options)
log.info('Syncronizing email list for {0}'.format(course_id)) log.info('Syncronizing email list for %s', course_id)
mailchimp = connect_mailchimp(key) mailchimp = connect_mailchimp(key)
# if not verify_list(mailchimp, list_id, course_id):
# raise CommandError('course_id does not match list name')
subscribed = get_subscribed(mailchimp, list_id) subscribed = get_subscribed(mailchimp, list_id)
unsubscribed = get_unsubscribed(mailchimp, list_id) unsubscribed = get_unsubscribed(mailchimp, list_id)
cleaned = get_cleaned(mailchimp, list_id) cleaned = get_cleaned(mailchimp, list_id)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment