From b58ebff5dbe27bf8439c1cf0222b835ce1fcec2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Saugat=20Pachhai=20=28=E0=A4=B8=E0=A5=8C=E0=A4=97=E0=A4=BE?= =?UTF-8?q?=E0=A4=A4=29?= Date: Thu, 31 Mar 2022 13:40:44 +0545 Subject: [PATCH] lint: fix variable reassignment bug while iterating from flake8 --- dvc/commands/remote.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dvc/commands/remote.py b/dvc/commands/remote.py index aebc7acff..cd249cd5e 100644 --- a/dvc/commands/remote.py +++ b/dvc/commands/remote.py @@ -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