summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/progressbar/progressbar.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/progressbar/progressbar.py')
-rw-r--r--bitbake/lib/progressbar/progressbar.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/progressbar/progressbar.py b/bitbake/lib/progressbar/progressbar.py
index e2b6ba1083..d4da10ab75 100644
--- a/bitbake/lib/progressbar/progressbar.py
+++ b/bitbake/lib/progressbar/progressbar.py
@@ -253,7 +253,7 @@ class ProgressBar(object):
253 if (self.maxval is not UnknownLength 253 if (self.maxval is not UnknownLength
254 and not 0 <= value <= self.maxval): 254 and not 0 <= value <= self.maxval):
255 255
256 raise ValueError('Value out of range') 256 self.maxval = value
257 257
258 self.currval = value 258 self.currval = value
259 259