mirror of
https://github.com/django/django.git
synced 2024-12-24 18:16:19 +00:00
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.
|
||||
"""
|
||||
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))
|
||||
|
Loading…
Reference in New Issue
Block a user