Remove unnecessary classified/unclassified check

This commit is contained in:
leigh-mil 2019-01-29 14:48:54 -05:00
parent 15f54f10ca
commit 3d80135606

View File

@ -109,10 +109,7 @@ class TaskOrders(object):
@classmethod @classmethod
def all_sections_complete(cls, task_order): def all_sections_complete(cls, task_order):
sections = TaskOrders.SECTIONS for section in TaskOrders.SECTIONS.keys():
if not app.config.get("CLASSIFIED"):
sections["funding"] = TaskOrders.UNCLASSIFIED_FUNDING
for section in sections:
if not TaskOrders.is_section_complete(task_order, section): if not TaskOrders.is_section_complete(task_order, section):
return False return False