fix small python bug in database processing code

util/stats/db.py:
    fix usage of hasattr

--HG--
extra : convert_revision : b384e1efeda76921c565f9f391694c27273edcec
This commit is contained in:
Nathan Binkert 2006-02-26 00:57:37 -05:00
parent b7e4d16ea9
commit 2c3e8d148c

View file

@ -158,7 +158,7 @@ class Database(object):
return None return None
from info import ProxyError, scalar, vector, value, values, total, len 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 system = job.system
if system is not None: if system is not None: