Permalink
Browse files

Removed hard-coded root tree path in makemessages.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17448 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 170e5d5 commit 2894ec71c962c7e3cdc69d7ab44a01b142795b38 @ramiro ramiro committed Feb 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 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))

0 comments on commit 2894ec7

Please sign in to comment.