summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2011-03-08 21:39:38 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-03-14 20:48:14 +0000
commitff3e326269d27662c830b04e05b571d257b89346 (patch)
treec33ed64c6f2154d4412bd65c3416967446843e6e /bitbake/lib
parent3c113f355bce012d55dac873189a410657016a62 (diff)
downloadast2050-yocto-poky-ff3e326269d27662c830b04e05b571d257b89346.zip
ast2050-yocto-poky-ff3e326269d27662c830b04e05b571d257b89346.tar.gz
bitbake/hob: fix cancel button
An accidental logic inversion (aka thinko) had the cancel button only cancel a build when the user didn't confirm the cancellation (i.e. clicked no)... Signed-off-by: Joshua Lock <josh@linux.intel.com>
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/bb/ui/hob.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/hob.py b/bitbake/lib/bb/ui/hob.py
index 5278881..0f8fe8c 100644
--- a/bitbake/lib/bb/ui/hob.py
+++ b/bitbake/lib/bb/ui/hob.py
@@ -420,7 +420,7 @@ class MainWindow (gtk.Window):
label.show()
response = dialog.run()
dialog.destroy()
- if not response == gtk.RESPONSE_YES:
+ if response == gtk.RESPONSE_YES:
self.handler.cancel_build()
return
OpenPOWER on IntegriCloud