Use/rename sections -> mission_owner_sections
This commit is contained in:
parent
92d93c5553
commit
4c0092a7c7
@ -93,7 +93,7 @@ class TaskOrders(object):
|
|||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def section_completion_status(cls, task_order, section):
|
def section_completion_status(cls, task_order, section):
|
||||||
if section in TaskOrders.SECTIONS:
|
if section in TaskOrders.mission_owner_sections():
|
||||||
passed = []
|
passed = []
|
||||||
failed = []
|
failed = []
|
||||||
|
|
||||||
@ -124,7 +124,7 @@ class TaskOrders(object):
|
|||||||
return True
|
return True
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def sections(cls):
|
def mission_owner_sections(cls):
|
||||||
section_list = TaskOrders.SECTIONS
|
section_list = TaskOrders.SECTIONS
|
||||||
if not app.config.get("CLASSIFIED"):
|
if not app.config.get("CLASSIFIED"):
|
||||||
section_list["funding"] = TaskOrders.UNCLASSIFIED_FUNDING
|
section_list["funding"] = TaskOrders.UNCLASSIFIED_FUNDING
|
||||||
|
Loading…
x
Reference in New Issue
Block a user