Python: Fix a conditional expression that requires Python 2.5
authorAndreas Hansson <andreas.hansson@arm.com>
Wed, 21 Mar 2012 23:02:03 +0000 (19:02 -0400)
committerAndreas Hansson <andreas.hansson@arm.com>
Wed, 21 Mar 2012 23:02:03 +0000 (19:02 -0400)
commit12742835bc8e569b74efb396ef211d7b581ae3b8
treef7d3029146fe24c9848d5c2dc74b432376c221d3
parent3c666083c6f5fecc38699a6f0c5f4f25b23e18c9
Python: Fix a conditional expression that requires Python 2.5

This patch changes a conditional expression to a conventional if/else
block, which does not require Python >= 2.5.
src/python/m5/SimObject.py