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
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):

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t