diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-05-08 11:48:35 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-05-08 22:56:40 +0100 |
commit | 949144681ad7f536732169351cab6d0612e9c566 (patch) | |
tree | 74f66d455b2d5a084bf0e26ca0a19765287db6af /scripts/pybootchartgui/pybootchartgui.py | |
parent | 5eebe246e9444a5a7dbf4d8683ae08c468cfc401 (diff) | |
download | openembedded-core-contrib-949144681ad7f536732169351cab6d0612e9c566.tar.gz |
scripts/pybootchart: Port to python3
This updates the pybootchart code (used for viewing build timing profiles)
to use python3. The bulk of the changes are to use gi instead of pygtk, i.e.
port from gtk+2 to gtk+3.
The main change is to make the bootchart widget inherit gtk.Scrollable
and change the way the scrollbars are implemented to match the new method
upstream. The drawing code used cairo already so can remain unchanged,
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/pybootchartgui/pybootchartgui.py')
-rwxr-xr-x | scripts/pybootchartgui/pybootchartgui.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/pybootchartgui/pybootchartgui.py b/scripts/pybootchartgui/pybootchartgui.py index 7ce1a5be40..1c4062b42c 100755 --- a/scripts/pybootchartgui/pybootchartgui.py +++ b/scripts/pybootchartgui/pybootchartgui.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # This file is part of pybootchartgui. |