History

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.

Jeremy Cline committed 8 years ago

Commit 2ab89261 parent 770d2f81 file · +1 −1Browse files

Showing the changes to tools/perf/scripts/python (1 of 1 file). Show all

Unified · Split

tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py+1−1
@@ -11,7 +11,7 @@ · 10 unmodified lines
11try:11try:
12 import wx12 import wx
13except ImportError:13except 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")
15 15
16 16
17class RootFrame(wx.Frame):17class RootFrame(wx.Frame):