summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorNathan Binkert <binkertn@umich.edu>2006-02-26 00:57:37 -0500
committerNathan Binkert <binkertn@umich.edu>2006-02-26 00:57:37 -0500
commit2c3e8d148cd349e5cb73c0d018271d171da0571c (patch)
treeb7af9a50edb6305d61aad671f09368929116c39d /util
parentb7e4d16ea94bbfe49ac3baa5e73f04d44ee2f2f0 (diff)
downloadgem5-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')
-rw-r--r--util/stats/db.py2
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: