diff options
author | Andreas Sandberg <andreas.sandberg@arm.com> | 2019-01-26 09:55:35 +0000 |
---|---|---|
committer | Andreas Sandberg <andreas.sandberg@arm.com> | 2019-02-13 09:52:37 +0000 |
commit | ac00ec10ca483a3b96349dd2952a7881c6d8b29a (patch) | |
tree | 270eb5909ed6ea6d83084f75b02ae0d66f6bacad /src/python/m5/SimObject.py | |
parent | c5e8e0e7c7028848c1317216693184f64db62b45 (diff) | |
download | gem5-ac00ec10ca483a3b96349dd2952a7881c6d8b29a.tar.xz |
python: Switch from using compare to key in list sort
Python 3 has deprecated the use of a comparison function in favour of
a key extraction function.
Change-Id: I4b7eab791ecbdfbf7147f57fdbc7cbe8f1de20dd
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/15995
Reviewed-by: Gabe Black <gabeblack@google.com>
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Diffstat (limited to 'src/python/m5/SimObject.py')
0 files changed, 0 insertions, 0 deletions