incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stefanoi...@apache.org
Subject [1/2] git commit: [5453] fixed bug
Date Fri, 11 Jan 2013 16:20:42 GMT
[5453] fixed bug


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

Branch: refs/heads/si/5453
Commit: 9a141fc4747b5a5121355d1360192891f45bc5d8
Parents: 3ce338f
Author: Stefano Invernizzi <stefanoinve@apache.org>
Authored: Thu Jan 10 19:25:44 2013 +0100
Committer: Stefano Invernizzi <stefanoinve@apache.org>
Committed: Thu Jan 10 19:25:44 2013 +0100

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


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


Mime
View raw message