

def update_users(users, dry=True):
    for user in get_users():
        if (not user):
            if (user.mailchimp_mailing_lists is None):
                user.mailchimp_mailing_lists = {
                    
                }
            user.mailchimp_mailing_lists[GENERAL_LIST] = True
            user.save()
        logger.info("User {}'s mailing_lists dict updated.".format(user._id))

dataset/ETHPy150Open CenterForOpenScience/osf.io/scripts/sync_email.py update_users/VarMisuse@26/31 `dry`->`user`