[damned-lies] Forgot using SortedDict in previous commit



commit 6736a9ad2649cbbfaf9d5a0aa0e3ba45bbaa9c6c
Author: Claude Paroz <claude 2xlibre net>
Date:   Sat Dec 15 19:51:12 2012 +0100

    Forgot using SortedDict in previous commit

 stats/models.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/stats/models.py b/stats/models.py
index e00dd30..9965691 100644
--- a/stats/models.py
+++ b/stats/models.py
@@ -1670,7 +1670,7 @@ class Statistics(models.Model):
             if vt_state.id in actions_dict:
                 vt_state.last_comment = actions_dict[vt_state.id].comment
 
-        category_choices_dict = dict(CATEGORY_CHOICES)
+        category_choices_dict = SortedDict(CATEGORY_CHOICES)
         for stat in pot_stats:
             categ_key = "default"
             if release:



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]