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:
parent
b7e4d16ea9
commit
2c3e8d148c
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue