diff options
Diffstat (limited to 'bitbake/lib/bb/ui/hob.py')
-rw-r--r-- | bitbake/lib/bb/ui/hob.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/hob.py b/bitbake/lib/bb/ui/hob.py index aed7eacbaa..2df344f1ed 100644 --- a/bitbake/lib/bb/ui/hob.py +++ b/bitbake/lib/bb/ui/hob.py | |||
@@ -883,7 +883,7 @@ def main (server, eventHandler): | |||
883 | # The PARALLEL_MAKE variable will be of the format: "-j 3" and we only | 883 | # The PARALLEL_MAKE variable will be of the format: "-j 3" and we only |
884 | # want a number for the spinner, so strip everything from the variable | 884 | # want a number for the spinner, so strip everything from the variable |
885 | # up to and including the space | 885 | # up to and including the space |
886 | pmake = int(pmake[pmake.find(" ")+1:]) | 886 | pmake = int(pmake.lstrip("-j ")) |
887 | 887 | ||
888 | image_types = server.runCommand(["getVariable", "IMAGE_TYPES"]) | 888 | image_types = server.runCommand(["getVariable", "IMAGE_TYPES"]) |
889 | 889 | ||