mirror of https://github.com/django/django.git
Removed hard-coded root tree path in makemessages.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17448 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
170e5d5f74
commit
2894ec71c9
|
@ -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.
|
Helper function to get all files in the given root.
|
||||||
"""
|
"""
|
||||||
all_files = []
|
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):
|
ignore_patterns=ignore_patterns, verbosity=verbosity, stdout=stdout):
|
||||||
for filename in filenames:
|
for filename in filenames:
|
||||||
norm_filepath = os.path.normpath(os.path.join(dirpath, filename))
|
norm_filepath = os.path.normpath(os.path.join(dirpath, filename))
|
||||||
|
|
Loading…
Reference in New Issue