1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Pull the link out of the alternatives output when not specified

Fixes #7414
This commit is contained in:
James Cammarata 2014-05-16 14:44:31 -05:00
parent 2128949a78
commit cbea442ec2

View file

@ -109,6 +109,8 @@ def main():
current_path = value current_path = value
elif key == 'Alternative': elif key == 'Alternative':
all_alternatives.append(value) all_alternatives.append(value)
elif key == 'Link' and not link:
link = value
if current_path != path: if current_path != path:
try: try: