mirror of
https://github.com/zerwes/ansible-fqcn-converter.git
synced 2024-11-23 09:16:38 -06:00
#22 : fix non-fqcn module name
This commit is contained in:
parent
065c0adc40
commit
64e1169ee4
@ -241,7 +241,7 @@ if not fqcnmapfile or args.updatefqcnmapfile:
|
||||
moddict = modjson[modname]
|
||||
if 'doc' in moddict and 'collection' in moddict['doc'] and 'module' in moddict['doc']:
|
||||
fqcn = '%s.%s' % (moddict['doc']['collection'], moddict['doc']['module'])
|
||||
nonfqcn = fqcn.split('.')[-1]
|
||||
nonfqcn = modname.split('.')[-1]
|
||||
if nonfqcn not in fqcndict.keys():
|
||||
fqcndict[nonfqcn] = []
|
||||
if fqcn not in fqcndict[nonfqcn]:
|
||||
|
Loading…
Reference in New Issue
Block a user