From 2894ec71c962c7e3cdc69d7ab44a01b142795b38 Mon Sep 17 00:00:00 2001 From: Ramiro Morales Date: Sat, 4 Feb 2012 21:44:31 +0000 Subject: [PATCH] Removed hard-coded root tree path in makemessages. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17448 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/core/management/commands/makemessages.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))