summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--util/stats/db.py2
-rw-r--r--util/stats/info.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/util/stats/db.py b/util/stats/db.py
index 0d321a360..1ece6df88 100644
--- a/util/stats/db.py
+++ b/util/stats/db.py
@@ -158,7 +158,7 @@ class Database(object):
print 'run "%s" not found' % job
return None
- from info import scalar, vector, value, total, len
+ from info import scalar, vector, value, values, total, len
stat.system = self[job.system]
if scalar(stat):
return value(stat, run.run)
diff --git a/util/stats/info.py b/util/stats/info.py
index 9932d7922..889af6d53 100644
--- a/util/stats/info.py
+++ b/util/stats/info.py
@@ -51,7 +51,7 @@ def values(stat, run):
stat = unproxy(stat)
result = []
for i in xrange(len(stat)):
- val = value(stat, run.run, i)
+ val = value(stat, run, i)
if val is None:
return None
result.append(val)