We don't need CLASSIFIED logic since its handled in mission_owner_sections
This commit is contained in:
parent
a92cbbaac6
commit
4daadf59d2
@ -99,12 +99,10 @@ class TaskOrders(object):
|
|||||||
failed = []
|
failed = []
|
||||||
|
|
||||||
for attr in TaskOrders.SECTIONS[section]:
|
for attr in TaskOrders.SECTIONS[section]:
|
||||||
if not app.config.get("CLASSIFIED") and attr in ["clin_02", "clin_04"]:
|
if getattr(task_order, attr):
|
||||||
pass
|
|
||||||
elif not getattr(task_order, attr):
|
|
||||||
failed.append(attr)
|
|
||||||
else:
|
|
||||||
passed.append(attr)
|
passed.append(attr)
|
||||||
|
else:
|
||||||
|
failed.append(attr)
|
||||||
|
|
||||||
if not failed:
|
if not failed:
|
||||||
return "complete"
|
return "complete"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user