def update_activity_hierarchy(): logger.info('--Updating activity hierarchy----') make_act_hierarchy()