Author: ramiro
Date: 2012-02-04 13:44:31 -0800 (Sat, 04 Feb 2012)
New Revision: 17448

Modified:
   django/trunk/django/core/management/commands/makemessages.py
Log:
Removed hard-coded root tree path in makemessages.

Modified: django/trunk/django/core/management/commands/makemessages.py
===================================================================
--- django/trunk/django/core/management/commands/makemessages.py        
2012-02-04 21:01:11 UTC (rev 17447)
+++ django/trunk/django/core/management/commands/makemessages.py        
2012-02-04 21:44:31 UTC (rev 17448)
@@ -84,7 +84,7 @@
     Helper function to get all files in the given root.
     """
     all_files = []
-    for (dirpath, dirnames, filenames) in walk(".", followlinks=symlinks,
+    for (dirpath, dirnames, filenames) in walk(root, followlinks=symlinks,
             ignore_patterns=ignore_patterns, verbosity=verbosity, 
stdout=stdout):
         for filename in filenames:
             norm_filepath = os.path.normpath(os.path.join(dirpath, filename))

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to