Fix a single syntax error in SchedGui.py to support both Python 2 and Python 3. This should have no functional change.
Showing the changes to tools/perf/scripts/python (1 of 1 file). Show all
Unified · Split
| @@ -11,7 +11,7 @@ · 10 unmodified lines | |||
| 11 | try: | 11 | try: |
| 12 | import wx | 12 | import wx |
| 13 | except ImportError: | 13 | 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") |
| 15 | 15 | ||
| 16 | 16 | ||
| 17 | class RootFrame(wx.Frame): | 17 | class RootFrame(wx.Frame): |