diff options
author | Nathan Binkert <binkertn@umich.edu> | 2006-02-26 00:57:37 -0500 |
---|---|---|
committer | Nathan Binkert <binkertn@umich.edu> | 2006-02-26 00:57:37 -0500 |
commit | 2c3e8d148cd349e5cb73c0d018271d171da0571c (patch) | |
tree | b7af9a50edb6305d61aad671f09368929116c39d /util/stats | |
parent | b7e4d16ea94bbfe49ac3baa5e73f04d44ee2f2f0 (diff) | |
download | gem5-2c3e8d148cd349e5cb73c0d018271d171da0571c.tar.xz |
fix small python bug in database processing code
util/stats/db.py:
fix usage of hasattr
--HG--
extra : convert_revision : b384e1efeda76921c565f9f391694c27273edcec
Diffstat (limited to 'util/stats')
-rw-r--r-- | util/stats/db.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/stats/db.py b/util/stats/db.py index d9b78c7d1..c0e7796eb 100644 --- a/util/stats/db.py +++ b/util/stats/db.py @@ -158,7 +158,7 @@ class Database(object): return None from info import ProxyError, scalar, vector, value, values, total, len - if system is None and hasattr('system', job): + if system is None and hasattr(job, 'system'): system = job.system if system is not None: |