def update_users(users, dry=True):
    for user in get_users():
        if not dry:
            if user.mailchimp_mailing_lists != 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/operator `is` -> `!=`