Change-Id: Ia1c7081377f53fd470addf35526f8b28a949a7b0 Signed-off-by: Jason Lowe-Power <jason@lowepower.com> Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/52523 Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu> Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Gabe Black <gabe.black@gmail.com>
13 lines
202 B
Python
13 lines
202 B
Python
# -*- coding: utf-8 -*-
|
|
|
|
|
|
def _to_int(s):
|
|
try:
|
|
return int(s)
|
|
except ValueError:
|
|
return s
|
|
|
|
|
|
__version__ = "2.8.1"
|
|
version_info = tuple(_to_int(s) for s in __version__.split("."))
|