[damned-lies] Updated archive-release command to use methods instead of attributes



commit c1f31dc6b075ff268e552bd38435ae6de943c819
Author: Claude Paroz <claude 2xlibre net>
Date:   Sun Apr 15 21:33:17 2012 +0200

    Updated archive-release command to use methods instead of attributes

 stats/management/commands/archive-release.py |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/stats/management/commands/archive-release.py b/stats/management/commands/archive-release.py
index c54ae3c..ad36657 100644
--- a/stats/management/commands/archive-release.py
+++ b/stats/management/commands/archive-release.py
@@ -32,9 +32,9 @@ class Command(BaseCommand):
                 'Branch': stat.branch.name.encode('utf-8'),
                 'Domain': stat.domain.name.encode('utf-8'),
                 'Language': stat.language.locale,
-                'Translated': stat.translated,
-                'Fuzzy': stat.fuzzy,
-                'Untranslated': stat.untranslated,
+                'Translated': stat.translated(),
+                'Fuzzy': stat.fuzzy(),
+                'Untranslated': stat.untranslated(),
             }
             writer.writerow(row)
         return out.getvalue()



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