deduplicate spec arg names
This commit is contained in:
parent
2a2fe00c4f
commit
d1bd3f4920
1 changed files with 1 additions and 1 deletions
|
@ -168,7 +168,7 @@ class SpecArgument(object):
|
|||
for argument_type in self.types:
|
||||
if not (context&argument_type.context) == 0:
|
||||
name = argument_type.name() or argument_type.type
|
||||
if name:
|
||||
if name and not name in names:
|
||||
names.append(name)
|
||||
if names:
|
||||
return format % "|".join(names)
|
||||
|
|
Loading…
Reference in a new issue