incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tvansteenbu...@apache.org
Subject [44/50] [abbrv] git commit: [#5453] Correctly initialize user stats
Date Tue, 12 Mar 2013 20:04:50 GMT
[#5453] Correctly initialize 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/75f55c80
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/75f55c80
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/75f55c80

Branch: refs/heads/si/5453
Commit: 75f55c809c810686130b81f680edb7f87374ecc6
Parents: 577ffbe
Author: Stefano Invernizzi <stefanoinve@apache.org>
Authored: Thu Mar 7 23:44:50 2013 +0100
Committer: Tim Van Steenburgh <tvansteenburgh@gmail.com>
Committed: Tue Mar 12 16:29:59 2013 +0000

----------------------------------------------------------------------
 Allura/allura/model/contrib_stats.py |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/75f55c80/Allura/allura/model/contrib_stats.py
----------------------------------------------------------------------
diff --git a/Allura/allura/model/contrib_stats.py b/Allura/allura/model/contrib_stats.py
index 51121ad..5a4751a 100644
--- a/Allura/allura/model/contrib_stats.py
+++ b/Allura/allura/model/contrib_stats.py
@@ -498,12 +498,12 @@ class Stats(MappedClass):
                     newstats = dict(
                         category=t,
                         commits=[],
-                        messages=[dict(
+                        messages=[],
+                        tickets=dict(
                             assigned=0,
                             solved=0,
                             revoked=0,
-                            totsolvingtime=0)],
-                        tickets={})
+                            totsolvingtime=0))
                     stats.general.append(newstats)
                     i = getElementIndex(stats.general, category=t)
                 for lang in ll:


Mime
View raw message