From 026fb4b1d2336c3036c2e48f41b60466bd27224d Mon Sep 17 00:00:00 2001 From: Libor Pechacek Date: Wed, 7 Feb 2018 12:50:24 +0100 Subject: [PATCH] Fix ProgressBar.progress() call Signed-off-by: Libor Pechacek --- cpuset/cset.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpuset/cset.py b/cpuset/cset.py index 4564081..d482cf8 100644 --- a/cpuset/cset.py +++ b/cpuset/cset.py @@ -271,7 +271,7 @@ class CpuSet(object): raise if prog: tick += 1 - pb(tick) + pb.progress(tick) if len(notfound) > 0: log.info('**> %s tasks were not found, so were not moved', len(notfound)) log.debug(' not found: %s', notfound)