From 64e1169ee4cb300bb1ec1ff6db8f1e0cac57d337 Mon Sep 17 00:00:00 2001 From: Klaus Zerwes Date: Sun, 15 Oct 2023 11:35:35 +0200 Subject: [PATCH] #22 : fix non-fqcn module name --- fqcn-fixer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fqcn-fixer.py b/fqcn-fixer.py index 5c0efad..f78b44b 100755 --- a/fqcn-fixer.py +++ b/fqcn-fixer.py @@ -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]: