summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRamiro Morales <cramm0@gmail.com>2012-02-04 21:44:31 +0000
committerRamiro Morales <cramm0@gmail.com>2012-02-04 21:44:31 +0000
commit2894ec71c962c7e3cdc69d7ab44a01b142795b38 (patch)
tree43520550c6aa6b71328d169f22a331a307aa4390
parent170e5d5f7421cc5d6142e1e6b0762392fb68dbb3 (diff)
Removed hard-coded root tree path in makemessages.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17448 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--django/core/management/commands/makemessages.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/core/management/commands/makemessages.py b/django/core/management/commands/makemessages.py
index 7bbae1f092..2a814f0708 100644
--- a/django/core/management/commands/makemessages.py
+++ b/django/core/management/commands/makemessages.py
@@ -84,7 +84,7 @@ def find_files(root, ignore_patterns, verbosity, stdout=sys.stdout, symlinks=Fal
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))