Skip to content

Commit 2ab8926

Browse files
jeremyclineacmel
authored andcommitted
perf scripts python: Add Python 3 support to SchedGui.py
Fix a single syntax error in SchedGui.py to support both Python 2 and Python 3. This should have no functional change. Signed-off-by: Jeremy Cline <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Herton Krzesinski <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/0100016341a72d26-75729663-fe55-4309-8c9b-302e065ed2f1-000000@email.amazonses.com Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent 770d2f8 commit 2ab8926

File tree

1 file changed

+1
-1
lines changed
  • tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace

1 file changed

+1
-1
lines changed

tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
try:
1212
import wx
1313
except ImportError:
14-
raise ImportError, "You need to install the wxpython lib for this script"
14+
raise ImportError("You need to install the wxpython lib for this script")
1515

1616

1717
class RootFrame(wx.Frame):

0 commit comments

Comments
 (0)