[damned-lies] Fix assignation to wrong variable of FakeStatistic
- From: Claude Paroz <claudep src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [damned-lies] Fix assignation to wrong variable of FakeStatistic
- Date: Thu, 7 Apr 2011 18:21:58 +0000 (UTC)
commit ac8521320e2e634e903e2ce16524dc6fe91a7ccf
Author: Claude Paroz <claude 2xlibre net>
Date: Thu Apr 7 20:21:42 2011 +0200
Fix assignation to wrong variable of FakeStatistic
stats/models.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/stats/models.py b/stats/models.py
index 025fc36..72e1527 100644
--- a/stats/models.py
+++ b/stats/models.py
@@ -344,7 +344,7 @@ class Branch(models.Model):
for domain in stats.keys():
if lang not in stats_langs[domain] and stats[domain][0].full_po:
fake_stat = FakeStatistics(self.module, self, typ, lang)
- fake_stat.untranslated = stats[domain][0].untranslated()
+ fake_stat._untranslated = stats[domain][0].untranslated()
stats[domain].append(fake_stat)
# Sort
for key, doms in stats.items():
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]