return concrete spec (as is advertised in the docstring)
This commit is contained in:
parent
320eb4872d
commit
a3d58129ec
@ -1574,7 +1574,7 @@ def matching_spec(self, spec):
|
|||||||
if abstract)
|
if abstract)
|
||||||
|
|
||||||
if len(root_matches) == 1:
|
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
|
# More than one spec matched, and either multiple roots matched or
|
||||||
# none of the matches were roots
|
# none of the matches were roots
|
||||||
|
Loading…
Reference in New Issue
Block a user