allow parametrized nodes to be specified from command line

This commit is contained in:
palaviv
2016-03-13 23:37:21 +02:00
parent 4636bf6160
commit 1ee3d40dbe
2 changed files with 17 additions and 1 deletions

View File

@@ -718,7 +718,7 @@ class Session(FSCollector):
if rep.passed:
has_matched = False
for x in rep.result:
if x.name == name:
if x.name == name or x.name.split("[")[0] == name:
resultnodes.extend(self.matchnodes([x], nextnames))
has_matched = True
# XXX accept IDs that don't have "()" for class instances