summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorShane Wang <shane.wang@intel.com>2012-06-02 12:54:36 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-06-08 12:13:15 +0100
commitefd977010ea4c9f611089b19cebb81f7a501dafa (patch)
tree5900c532dd29ecb5934152fbbcc803b9676d73c7 /bitbake
parent9703dcb39805417d36d3fc30e6640d612ee6e01f (diff)
downloadpoky-efd977010ea4c9f611089b19cebb81f7a501dafa.tar.gz
Hob: lower the limitation for PyGTK
(Bitbake rev: d44af0185985cc46ba07a82875bbb4cd4a6d3dec) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rwxr-xr-xbitbake/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 97f54ef4c6..9ec32b1517 100755
--- a/bitbake/lib/bb/ui/hob.py
+++ b/bitbake/lib/bb/ui/hob.py
@@ -30,7 +30,7 @@ try:
30 pygtk.require('2.0') # to be certain we don't have gtk+ 1.x !?! 30 pygtk.require('2.0') # to be certain we don't have gtk+ 1.x !?!
31 gtkver = gtk.gtk_version 31 gtkver = gtk.gtk_version
32 pygtkver = gtk.pygtk_version 32 pygtkver = gtk.pygtk_version
33 if gtkver < (2, 20, 0) or pygtkver < (2, 22, 0): 33 if gtkver < (2, 20, 0) or pygtkver < (2, 21, 0):
34 sys.exit("%s,\nYou have Gtk+ %s and PyGtk %s." % (requirements, 34 sys.exit("%s,\nYou have Gtk+ %s and PyGtk %s." % (requirements,
35 ".".join(map(str, gtkver)), 35 ".".join(map(str, gtkver)),
36 ".".join(map(str, pygtkver)))) 36 ".".join(map(str, pygtkver))))