incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [07/42] git commit: [5453] Fixed bug in user stats
Date Thu, 28 Mar 2013 16:57:36 GMT
[5453] Fixed bug in user stats


Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/102d0e7a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/102d0e7a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/102d0e7a

Branch: refs/heads/db/5453
Commit: 102d0e7a4835a6843b533fcc19bc8e358290c84a
Parents: 2ef57f0
Author: Stefano Invernizzi <stefanoinve@apache.org>
Authored: Fri Jan 11 17:19:53 2013 +0100
Committer: Dave Brondsema <dbrondsema@slashdotmedia.com>
Committed: Thu Mar 28 16:53:30 2013 +0000

----------------------------------------------------------------------
 ForgeUserStats/forgeuserstats/model/stats.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/102d0e7a/ForgeUserStats/forgeuserstats/model/stats.py
----------------------------------------------------------------------
diff --git a/ForgeUserStats/forgeuserstats/model/stats.py b/ForgeUserStats/forgeuserstats/model/stats.py
index d196709..0dcf5af 100644
--- a/ForgeUserStats/forgeuserstats/model/stats.py
+++ b/ForgeUserStats/forgeuserstats/model/stats.py
@@ -182,7 +182,7 @@ class UserStats(MappedClass):
         if i is None:
             return dict(created=0, modified=0)
         cat = self.general[i]
-        j = getElementIndex(cat.messages, art_type = art_type)
+        j = getElementIndex(cat.messages, messagetype = art_type)
         if j is None:
             return dict(created=0, modified=0)
         return dict(created=cat.messages[j].created, modified=cat.messages[j].modified)


Mime
View raw message