[damned-lies] Django 1.3 compile_messages take a parameter



commit 821263f88c756ea25aa19c75cccc8a37f48c0146
Author: Claude Paroz <claude 2xlibre net>
Date:   Mon Mar 28 20:56:17 2011 +0200

    Django 1.3 compile_messages take a parameter

 stats/management/commands/compile-trans.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/stats/management/commands/compile-trans.py b/stats/management/commands/compile-trans.py
index f8b3cf1..8a4ad9e 100644
--- a/stats/management/commands/compile-trans.py
+++ b/stats/management/commands/compile-trans.py
@@ -22,4 +22,4 @@ class Command(NoArgsCommand):
             shutil.copy(os.path.join(podir, pofile), os.path.join(localedir, 'django.po'))
 
         # Run compilemessages -l ll
-        compilemessages.compile_messages()
+        compilemessages.compile_messages(self.stderr)



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