From 2e12af095eb0df7034eacb2e554b98bc5437ee68 Mon Sep 17 00:00:00 2001 From: n3hrox Date: Sat, 26 Oct 2019 22:21:58 +0200 Subject: [PATCH] Fix improper variable name --- dvc/remote/local.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/dvc/remote/local.py b/dvc/remote/local.py index f9cdb5cdf..fc11aee28 100644 --- a/dvc/remote/local.py +++ b/dvc/remote/local.py @@ -366,12 +366,12 @@ class RemoteLOCAL(RemoteBASE): else: failures = list(map(func, *plans)) - for it in failures: - if not isinstance(it, tuple): + for failure in failures: + if not isinstance(failure, tuple): continue - fails += it[0] - from_info, to_info = it[1], it[2] - operation = it[3] + fails += failure[0] + from_info, to_info = failure[1], failure[2] + operation = failure[3] msgs += f"Failed to {operation} '{from_info}' to '{to_info}'\n" if msgs: