[damned-lies] Fixed regression after refactoring in 0359bbb0a4



commit 3ddba346bb852689e543a959806c0b49f227e19b
Author: Claude Paroz <claude 2xlibre net>
Date:   Thu Mar 20 09:21:11 2014 +0100

    Fixed regression after refactoring in 0359bbb0a4

 stats/models.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/stats/models.py b/stats/models.py
index b52843d..11226d9 100644
--- a/stats/models.py
+++ b/stats/models.py
@@ -1595,7 +1595,7 @@ class Statistics(models.Model):
             fig_errors = utils.check_identical_figures(
                 fig_stats, self.branch.domain_path(self.domain), self.language.locale)
             for err in fig_errors:
-                stat.set_error(*err)
+                self.set_error(*err)
 
         logging.debug("%s:\n%s" % (self.language, str(stats)))
 


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