Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 811b02c7 authored by IMBERT Matthieu's avatar IMBERT Matthieu
Browse files

[execo_engine] ParamSweeper: fix stats() to take in account only relevant

skipped / inprogress / done for computing stats
parent 0b0f8c72
No related branches found
No related tags found
No related merge requests found
......@@ -502,9 +502,9 @@ class ParamSweeper(object):
with self.__lock:
sweeps = self.get_sweeps()
remaining = self.get_remaining()
skipped = self.get_skipped()
inprogress = self.get_inprogress()
done = self.get_done()
skipped = self.get_skipped().intersection(sweeps)
inprogress = self.get_inprogress().intersection(sweeps)
done = self.get_done().intersection(sweeps)
ctotal = count(sweeps)
cremaining = count(remaining)
cskipped = count(skipped)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment