Ensure states_to_create variable is always set.
This commit is contained in:
parent
b08089c016
commit
a7162aa766
|
@ -208,6 +208,7 @@ class CheckPlan(ModelSQL, ModelView):
|
|||
integer_to_create = []
|
||||
float_to_create = []
|
||||
char_to_create = []
|
||||
states_to_create = []
|
||||
logging.info('Checking %s' % plan.type.internal_name)
|
||||
res = getattr(plan, plan.type.internal_name)()
|
||||
for result in res:
|
||||
|
|
Loading…
Reference in New Issue