projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7e4d16
)
fix small python bug in database processing code
author
Nathan Binkert
<binkertn@umich.edu>
Sun, 26 Feb 2006 05:57:37 +0000
(
00:57
-0500)
committer
Nathan Binkert
<binkertn@umich.edu>
Sun, 26 Feb 2006 05:57:37 +0000
(
00:57
-0500)
util/stats/db.py:
fix usage of hasattr
--HG--
extra : convert_revision :
b384e1efeda76921c565f9f391694c27273edcec
util/stats/db.py
patch
|
blob
|
history
diff --git
a/util/stats/db.py
b/util/stats/db.py
index d9b78c7d17258f2b99dd3ab3431e6a92b88e82da..c0e7796ebc5f311ae8608c2c04dd42f2ae1cdd55 100644
(file)
--- 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: