Module Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier Assign NameStore Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam defaults body For NameStore NameLoad body If CompareGt Call NameLoad AttributeLoad NameLoad attr Num body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body For NameStore NameLoad body Assign NameStore NameLoad For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str orelse If CompareLt NameLoad Call AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Return Call AttributeLoad NameLoad attr Call NameLoad Str Str Num decorator_list FunctionDef arguments args defaults body Assign NameStore BinOpBitAnd Call NameLoad Str Str NameLoad Call NameLoad Str Str AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad If CompareIn Str AttributeLoad NameLoad attr body Assign NameStore NameLoad If CompareIn Str AttributeLoad NameLoad attr body Assign NameStore NameLoad If CompareIn Str AttributeLoad NameLoad attr body Assign NameStore NameLoad If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call NameLoad keyword NameLoad keyword NameLoad With Call NameLoad body If NameLoad body Expr Call NameLoad Call NameLoad If NameLoad body Expr Call NameLoad Call NameLoad If NameLoad body Raise Call NameLoad Str decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A logging N/A sys modularodm Q website.app init_app website.project.model Comment framework.transactions.context TokuTransaction scripts utils script_utils N/A logger N/A N/A logging getLogger __name__ migrate_status N/A N/A records N/A N/A N/A record records N/A N/A N/A N/A len N/A record reports 0 N/A N/A N/A record spam_status N/A Comment FLAGGED N/A N/A N/A record spam_status N/A Comment UNKNOWN N/A N/A N/A record save N/A N/A N/A logger info N/A N/A Migrated spam_status for comment {} format N/A record _id N/A migrate_latest N/A N/A records N/A N/A N/A record records N/A N/A date None N/A N/A user report N/A N/A N/A record reports iteritems N/A N/A N/A date None N/A N/A date N/A N/A report get date N/A N/A N/A date N/A N/A report get date N/A N/A date N/A N/A report get date N/A N/A record date_last_reported date N/A N/A N/A record save N/A N/A N/A logger info N/A N/A Migrated date_last_reported for comment {} format N/A record _id N/A get_no_status_targets N/A N/A N/A N/A N/A N/A N/A Comment find N/A Q spam_status eq 0 N/A get_no_latest_targets N/A N/A N/A N/A N/A query N/A N/A Q date_last_reported eq None N/A Q spam_status ne N/A Comment UNKNOWN N/A N/A N/A Comment find query N/A main N/A N/A N/A N/A N/A dry_run False N/A status True N/A latest True N/A N/A --dry N/A sys argv N/A N/A dry_run True N/A N/A --no_status N/A sys argv N/A N/A status False N/A N/A --no_latest N/A sys argv N/A N/A latest False N/A N/A dry_run N/A N/A N/A N/A script_utils add_file_logger logger __file__ N/A N/A init_app set_backends True routes False N/A N/A TokuTransaction N/A N/A status N/A N/A N/A migrate_status N/A get_no_status_targets N/A latest N/A N/A N/A migrate_latest N/A get_no_latest_targets N/A dry_run N/A N/A N/A Exception Dry Run -- Aborting Transaction N/A N/A N/A __name__ __main__ N/A N/A N/A main