From 4c0092a7c73b28fb2c057ed906cabe904d657dc2 Mon Sep 17 00:00:00 2001 From: George Drummond Date: Fri, 1 Feb 2019 10:04:08 -0500 Subject: [PATCH] Use/rename sections -> mission_owner_sections --- atst/domain/task_orders.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/atst/domain/task_orders.py b/atst/domain/task_orders.py index 6ddf4ba2..67dca82b 100644 --- a/atst/domain/task_orders.py +++ b/atst/domain/task_orders.py @@ -93,7 +93,7 @@ class TaskOrders(object): @classmethod def section_completion_status(cls, task_order, section): - if section in TaskOrders.SECTIONS: + if section in TaskOrders.mission_owner_sections(): passed = [] failed = [] @@ -124,7 +124,7 @@ class TaskOrders(object): return True @classmethod - def sections(cls): + def mission_owner_sections(cls): section_list = TaskOrders.SECTIONS if not app.config.get("CLASSIFIED"): section_list["funding"] = TaskOrders.UNCLASSIFIED_FUNDING