diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2016-06-23 22:59:04 +1200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-07-08 09:57:26 +0100 |
commit | 1cf6e14a6c5ddb4daec1c1e0cce113eea8570545 (patch) | |
tree | b24af53ea6048aa6d441b10cf96ea633a7936d5d /bitbake/lib/bb | |
parent | 481048cd2a64a08501bb5ea7ec0bc9ef0a9a5cc9 (diff) | |
download | poky-1cf6e14a6c5ddb4daec1c1e0cce113eea8570545.tar.gz |
bitbake: knotty: import latest python-progressbar
Since we're going to make some minor extensions to it, it makes sense to
bring in the latest version of python-progressbar. Its structure has
changed a little but the API hasn't; however we do need to ensure our
overridden _needs_update() function's signature in BBProgress() matches
properly.
(Bitbake rev: c3e51d71b36cbc9e9ed1b35fb93d0978e24bc98a)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb')
-rw-r--r-- | bitbake/lib/bb/ui/knotty.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/knotty.py b/bitbake/lib/bb/ui/knotty.py index ddd36d50f6..6a6f6888e3 100644 --- a/bitbake/lib/bb/ui/knotty.py +++ b/bitbake/lib/bb/ui/knotty.py | |||
@@ -51,7 +51,7 @@ class BBProgress(progressbar.ProgressBar): | |||
51 | self._resize_default = None | 51 | self._resize_default = None |
52 | progressbar.ProgressBar.__init__(self, maxval, [self.msg + ": "] + widgets, fd=sys.stdout) | 52 | progressbar.ProgressBar.__init__(self, maxval, [self.msg + ": "] + widgets, fd=sys.stdout) |
53 | 53 | ||
54 | def _handle_resize(self, signum, frame): | 54 | def _handle_resize(self, signum=None, frame=None): |
55 | progressbar.ProgressBar._handle_resize(self, signum, frame) | 55 | progressbar.ProgressBar._handle_resize(self, signum, frame) |
56 | if self._resize_default: | 56 | if self._resize_default: |
57 | self._resize_default(signum, frame) | 57 | self._resize_default(signum, frame) |