test index param
This commit is contained in:
@ -87,7 +87,7 @@ class ParamAnnotator:
|
||||
elif param.type == 'index':
|
||||
for target in obj.target:
|
||||
if not self.objectspace.paths.is_follower(target.name.path):
|
||||
msg = _(f'"{param.type}" parameter cannot be set with target "{target.name}"'
|
||||
msg = _(f'"{param.type}" parameter cannot be set with target "{target.name.name}"'
|
||||
f' which is not a follower variable')
|
||||
raise DictConsistencyError(msg, 60, obj.xmlfiles)
|
||||
pass
|
||||
|
Reference in New Issue
Block a user