diff options
Diffstat (limited to 'bitbake/bin/image-writer')
-rwxr-xr-x | bitbake/bin/image-writer | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/bitbake/bin/image-writer b/bitbake/bin/image-writer index e30ab45e31..7ab1d8c979 100755 --- a/bitbake/bin/image-writer +++ b/bitbake/bin/image-writer | |||
@@ -1,4 +1,4 @@ | |||
1 | #!/usr/bin/env python | 1 | #!/usr/bin/env python3 |
2 | 2 | ||
3 | # Copyright (c) 2012 Wind River Systems, Inc. | 3 | # Copyright (c) 2012 Wind River Systems, Inc. |
4 | # | 4 | # |
@@ -24,9 +24,13 @@ try: | |||
24 | except RuntimeError as exc: | 24 | except RuntimeError as exc: |
25 | sys.exit(str(exc)) | 25 | sys.exit(str(exc)) |
26 | 26 | ||
27 | from gi import pygtkcompat | ||
28 | |||
29 | pygtkcompat.enable() | ||
30 | pygtkcompat.enable_gtk(version='3.0') | ||
31 | |||
27 | import gtk | 32 | import gtk |
28 | import optparse | 33 | import optparse |
29 | import pygtk | ||
30 | 34 | ||
31 | from bb.ui.crumbs.hobwidget import HobAltButton, HobButton | 35 | from bb.ui.crumbs.hobwidget import HobAltButton, HobButton |
32 | from bb.ui.crumbs.hig.crumbsmessagedialog import CrumbsMessageDialog | 36 | from bb.ui.crumbs.hig.crumbsmessagedialog import CrumbsMessageDialog |