return concrete spec (as is advertised in the docstring)

This commit is contained in:
Peter Josef Scheibel 2021-04-30 12:55:56 -07:00 committed by Todd Gamblin
parent 320eb4872d
commit a3d58129ec

View File

@ -1574,7 +1574,7 @@ def matching_spec(self, spec):
if abstract)
if len(root_matches) == 1:
return list(root_matches.items())[0][1]
return list(root_matches.items())[0][0]
# More than one spec matched, and either multiple roots matched or
# none of the matches were roots