mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 11:21:25 -07:00
deps module util: fix overzealous name cropping (#6479)
Fix overzealous name cropping.
This commit is contained in:
parent
737d37e019
commit
57cfd1b46d
2 changed files with 3 additions and 1 deletions
|
@ -80,7 +80,7 @@ def _select_names(spec):
|
|||
for d in spec_split:
|
||||
dep_names.remove(d)
|
||||
else:
|
||||
spec_split = spec[1:].split(":")
|
||||
spec_split = spec.split(":")
|
||||
dep_names = []
|
||||
for d in spec_split:
|
||||
_deps[d] # ensure it exists
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue