From bb250ba85fe6124f72e2d338ba4e66360aa86a4b Mon Sep 17 00:00:00 2001 From: Klaus Zerwes Date: Thu, 8 Sep 2022 15:18:10 +0200 Subject: [PATCH] fixed 'fqcn as key' code --- fqcn-fixer.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/fqcn-fixer.py b/fqcn-fixer.py index a66f737..68c2852 100755 --- a/fqcn-fixer.py +++ b/fqcn-fixer.py @@ -189,8 +189,9 @@ if not fqcnmapfile or args.updatefqcnmapfile: print('fqcn map written to %s' % args.fqcnmapfile) # add the fqcn as key to -for fqcn in copy.copy(fqcndict).values(): - fqcndict[fqcn] = fqcn +for fqcnlist in copy.copy(fqcndict).values(): + for fqcn in fqcnlist: + fqcndict[fqcn] = fqcn # build exclude_paths exclude_paths = []