Remove unnecessary classified/unclassified check
This commit is contained in:
parent
15f54f10ca
commit
3d80135606
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user