summaryrefslogtreecommitdiff
path: root/util/m5
diff options
context:
space:
mode:
authorAndreas Sandberg <andreas.sandberg@arm.com>2016-04-18 10:31:38 +0100
committerAndreas Sandberg <andreas.sandberg@arm.com>2016-04-18 10:31:38 +0100
commitf81951815877874b212b1963e76af3596855c337 (patch)
tree2ca3948b0a4d4a40e0281b9eb13f28abe11ff1cd /util/m5
parent39e10ced035a7e1f53673fc998741f8b6067135d (diff)
downloadgem5-f81951815877874b212b1963e76af3596855c337.tar.xz
style: Fix Python 2.6 compatibility
The style checker code needs to disable autojunk when diffing source files using Python's difflib. Support for this was only introduced in Python 2.7, which leads to a TypeError exception on older Python version. This changeset adds a fallback mechanism for old Python versions.
Diffstat (limited to 'util/m5')
0 files changed, 0 insertions, 0 deletions