path not already initialize
This commit is contained in:
parent
8c733d5303
commit
777542844f
|
@ -177,7 +177,7 @@ def carry_out_calculation(option, context, callback, callback_params,
|
||||||
else:
|
else:
|
||||||
raise err
|
raise err
|
||||||
else:
|
else:
|
||||||
raise err
|
raise value
|
||||||
# convert to list, not modifie this multi
|
# convert to list, not modifie this multi
|
||||||
if value.__class__.__name__ == 'Multi':
|
if value.__class__.__name__ == 'Multi':
|
||||||
value = list(value)
|
value = list(value)
|
||||||
|
@ -228,7 +228,7 @@ def carry_out_calculation(option, context, callback, callback_params,
|
||||||
if not option.impl_is_optiondescription() and callback_params != {} and isinstance(ret, list) and \
|
if not option.impl_is_optiondescription() and callback_params != {} and isinstance(ret, list) and \
|
||||||
option.impl_is_master_slaves('slave'):
|
option.impl_is_master_slaves('slave'):
|
||||||
raise SlaveError(_("callback cannot return a list for a "
|
raise SlaveError(_("callback cannot return a list for a "
|
||||||
"slave option ({0})").format(path))
|
"slave option ({0})").format(option.impl_getname()))
|
||||||
return ret
|
return ret
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue