History

perf script python: Remove mixed indentation

Remove mixed indentation in Python scripts. Revert to either all tabs (most common form) or all spaces (4 or 8) depending on what was the intent of the original commit. This is necessary to complete Python3 support as it will flag an error if it encounters mixed indentation.

Tony Jones committed 7 years ago

Commit b504d7f1 parent c1d3e6314 files · +136 −135Browse files

Showing the changes to tools/perf/scripts/python/stackcollapse.py (1 of 14 files). Show all

Unified · Split

tools/perf/scripts/python/stackcollapse.py+1−1
@@ -27,7 +27,7 @@ from collections import defaultdict · 26 unmodified lines
2727 from optparse import OptionParser, make_option
2828
2929 sys.path.append(os.environ['PERF_EXEC_PATH'] + \
30− '/scripts/python/Perf-Trace-Util/lib/Perf/Trace')
30+ '/scripts/python/Perf-Trace-Util/lib/Perf/Trace')
3131
3232 from perf_trace_context import *
3333 from Core import *