Module Expr Str Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args defaults body Expr Call NameLoad keyword NameLoad Assign NameStore CompareIn Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str If NameLoad body Expr Call AttributeLoad NameLoad attr Str For NameStore Call NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str Str Dict decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A 
Used to transfer over subscriptions current users might have from their mailing_list field (which is to be deprecated),
to the new mailchimp_mailing_lists field. After that is done, to clean-up, remove mailing_lists as a User field.
 N/A logging N/A sys website models website.app init_app modularodm Q N/A logger N/A N/A logging getLogger __name__ main N/A N/A N/A N/A N/A N/A init_app routes False N/A dry_run N/A dry N/A sys argv N/A N/A N/A logger warn Users will have "mailchimp_mailing_lists" updated from deprecated field "mailing_lists" value N/A dry_run N/A N/A N/A N/A logger warn Dry_run mode N/A user N/A get_users_needing_mailing_lists_update N/A N/A N/A N/A logger info N/A N/A User {0} "mailchimp_mailing_lists" updated format N/A user username N/A N/A dry_run N/A N/A N/A user mailchimp_mailing_lists N/A user mailing_lists N/A N/A N/A user save N/A get_users_needing_mailing_lists_update N/A N/A N/A N/A N/A N/A N/A N/A models User find N/A Q mailing_lists ne N/A N/A N/A N/A __name__ __main__ N/A N/A N/A main