summaryrefslogtreecommitdiff
path: root/ext/mcpat/cachecontroller.h
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 /ext/mcpat/cachecontroller.h
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 'ext/mcpat/cachecontroller.h')
0 files changed, 0 insertions, 0 deletions