src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/translations.py

branch
eric7
changeset 10373
093dcebe5ecb
parent 10362
cfa7034cccf6
child 10439
21c28b0f9e41
equal deleted inserted replaced
10372:1444b4bee64b 10373:093dcebe5ecb
524 @return list of known message codes 524 @return list of known message codes
525 @rtype set of str 525 @rtype set of str
526 """ 526 """
527 knownCodes = [] 527 knownCodes = []
528 for catalog in messageCatalogs.values(): 528 for catalog in messageCatalogs.values():
529 knownCodes += list(catalog.keys()) 529 knownCodes += list(catalog)
530 return {c.split(".", 1)[0] for c in knownCodes} 530 return {c.split(".", 1)[0] for c in knownCodes}
531 531
532 532
533 # 533 #
534 # eflag: noqa = M201 534 # eflag: noqa = M201

eric ide

mercurial