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 = []
|
||||
|
||||
for attr in TaskOrders.SECTIONS[section]:
|
||||
if not app.config.get("CLASSIFIED") and attr in ["clin_02", "clin_04"]:
|
||||
pass
|
||||
elif not getattr(task_order, attr):
|
||||
failed.append(attr)
|
||||
else:
|
||||
if getattr(task_order, attr):
|
||||
passed.append(attr)
|
||||
else:
|
||||
failed.append(attr)
|
||||
|
||||
if not failed:
|
||||
return "complete"
|
||||
|
Loading…
x
Reference in New Issue
Block a user