mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-19 21:03:14 -07:00
Fix flake8-bugbear B007 Loop control variable not used within the loop body.
This commit is contained in:
parent
e00b5cc195
commit
4c8e896bbb
7 changed files with 10 additions and 10 deletions
|
@ -136,10 +136,10 @@ class ConfigObj(configobj.ConfigObj, Section):
|
|||
|
||||
subsections = {}
|
||||
# gather all new-style and old-style sub-sections
|
||||
for newsection, newitems in CFG_NEW.items():
|
||||
for newsection in CFG_NEW:
|
||||
if CFG_NEW[newsection].sections:
|
||||
subsections.update({newsection: CFG_NEW[newsection].sections})
|
||||
for section, items in CFG_OLD.items():
|
||||
for section in CFG_OLD:
|
||||
if CFG_OLD[section].sections:
|
||||
subsections.update({section: CFG_OLD[section].sections})
|
||||
for option, value in CFG_OLD[section].items():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue