mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
lint: fix variable reassignment bug while iterating from flake8
This commit is contained in:
committed by
Saugat Pachhai
parent
565a813e2a
commit
b58ebff5db
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user