From 34dc258b7f39d3d7db8f4ed2abda03a67f202656 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Tue, 8 Jan 2019 09:41:29 +0100 Subject: Use the list of tests actually run when reporting results. --- example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3