Patchwork [bitbake-devel] crumbs/builder.py: Fix typo for indefinite article

login
register
mail settings
Submitter Yi Zhao
Date Nov. 27, 2013, 9:40 a.m.
Message ID <1385545256-11483-1-git-send-email-yi.zhao@windriver.com>
Download mbox | patch
Permalink /patch/62467/
State New
Headers show

Comments

Yi Zhao - Nov. 27, 2013, 9:40 a.m.
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
---
 bitbake/lib/bb/ui/crumbs/builder.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/bitbake/lib/bb/ui/crumbs/builder.py b/bitbake/lib/bb/ui/crumbs/builder.py
index de002b9..1ace5cf 100755
--- a/bitbake/lib/bb/ui/crumbs/builder.py
+++ b/bitbake/lib/bb/ui/crumbs/builder.py
@@ -1352,7 +1352,7 @@  class Builder(gtk.Window):
 
     def runqemu_image(self, image_name, kernel_name):
         if not image_name or not kernel_name:
-            lbl = "<b>Please select an %s to launch in QEMU.</b>" % ("kernel" if image_name else "image")
+            lbl = "<b>Please select %s to launch in QEMU.</b>" % ("a kernel" if image_name else "an image")
             dialog = CrumbsMessageDialog(self, lbl, gtk.MESSAGE_INFO)
             button = dialog.add_button("Close", gtk.RESPONSE_OK)
             HobButton.style_button(button)