summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
authorDavid Khouya <dakhouya@gmail.com>2020-07-07 10:39:09 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-07-07 17:49:36 +0100
commit31c4731c8e14f372b8df9b46b2bf179187796573 (patch)
treea3e4d4454ae09698bafc1c72652c523ad5d0be69 /bitbake/lib
parent75e91b8e52ec77398e6b0fc09456e971662d9d7e (diff)
downloadpoky-31c4731c8e14f372b8df9b46b2bf179187796573.tar.gz
bitbake: lib/ui/taskexp: Fix missing Gtk import
Adding back gtk objects import. Fix bug introduce when adding validation on gtk import. (Bitbake rev: 765be5ef60668f8a1cfbcba248f4995725807196) Signed-off-by: David Khouya <dakhouya@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/bb/ui/taskexp.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/taskexp.py b/bitbake/lib/bb/ui/taskexp.py
index 336d197deb..05e32338c2 100644
--- a/bitbake/lib/bb/ui/taskexp.py
+++ b/bitbake/lib/bb/ui/taskexp.py
@@ -12,6 +12,7 @@ import sys
12try: 12try:
13 import gi 13 import gi
14 gi.require_version('Gtk', '3.0') 14 gi.require_version('Gtk', '3.0')
15 from gi.repository import Gtk, Gdk, GObject
15except ValueError: 16except ValueError:
16 sys.exit("FATAL: Gtk version needs to be 3.0") 17 sys.exit("FATAL: Gtk version needs to be 3.0")
17except ImportError: 18except ImportError: