path not already initialize

This commit is contained in:
Emmanuel Garette 2016-03-14 22:18:21 +01:00
parent 8c733d5303
commit 777542844f
1 changed files with 2 additions and 2 deletions

View File

@ -177,7 +177,7 @@ def carry_out_calculation(option, context, callback, callback_params,
else:
raise err
else:
raise err
raise value
# convert to list, not modifie this multi
if value.__class__.__name__ == 'Multi':
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 \
option.impl_is_master_slaves('slave'):
raise SlaveError(_("callback cannot return a list for a "
"slave option ({0})").format(path))
"slave option ({0})").format(option.impl_getname()))
return ret