bitbake: hob: Fix GTK+ and PyGtk version check error message to be more clear
authorJessica Zhang <jessica.zhang@intel.com>
Thu, 3 Jan 2013 23:32:05 +0000 (15:32 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 18 Jan 2013 12:53:05 +0000 (12:53 +0000)
Improve the error message the user sees if the versions are incorrect.

[YOCTO #3637]

(Bitbake rev: 7e3a99949358f4362876df5a82f8aeaae72c3c97)

Signed-off-by: Jessica Zhang <jessica.zhang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/ui/hob.py

index 9ec32b1..55bd84c 100755 (executable)
@@ -22,7 +22,7 @@
 
 import sys
 import os
-requirements = "FATAL: Gtk+, PyGtk and PyGobject are required to use Hob"
+requirements = "FATAL: Hob requires Gtk+ 2.20.0 or higher, PyGtk 2.21.0 or higher"
 try:
     import gobject
     import gtk