#22 : fix non-fqcn module name

This commit is contained in:
Klaus Zerwes 2023-10-15 11:35:35 +02:00
parent 065c0adc40
commit 64e1169ee4

View File

@ -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]: