lint: fix variable reassignment bug while iterating from flake8

This commit is contained in:
Saugat Pachhai (सौगात)
2022-03-31 13:41:25 +05:45
committed by Saugat Pachhai
parent 565a813e2a
commit b58ebff5db
+2 -2
View File
@@ -113,8 +113,8 @@ class CmdRemoteDefault(CmdRemote):
class CmdRemoteList(CmdRemote):
def run(self):
conf = self.config.read(self.args.level)
for name, conf in conf["remote"].items():
ui.write(name, conf["url"], sep="\t")
for name, remote_conf in conf["remote"].items():
ui.write(name, remote_conf["url"], sep="\t")
return 0