summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2019-01-08 09:41:29 +0100
committerAnton Khirnov <anton@khirnov.net>2019-01-08 09:41:29 +0100
commit34dc258b7f39d3d7db8f4ed2abda03a67f202656 (patch)
tree70967c3aebd5cd68369e76c2675fb1f255b7d752
parent4cc19180a559aa2b2645586d015b3e9e892b93af (diff)
Use the list of tests actually run when reporting results.
-rwxr-xr-xexample.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/example.py b/example.py
index 6fa6c0d..e4c5df3 100755
--- a/example.py
+++ b/example.py
@@ -40,7 +40,7 @@ repo = Repo()
res = repo.backup(tgts_run)
if not res.all_ok:
sys.stderr.write('Error while backing up:\n')
- for tgt, tgt_res in zip(tgts, res.target_results):
+ for tgt, tgt_res in zip(tgts_run, res.target_results):
if tgt_res.retcode == 0:
continue