From a4f68c1b40471fc1b099a27f4c4d8eb181bada8c Mon Sep 17 00:00:00 2001 From: Ramiro Morales Date: Sat, 4 Feb 2012 20:02:46 +0000 Subject: [PATCH] Fixed undefined variable name in makemessages command code. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17446 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 22befeff4a6..7bbae1f0923 100644 --- a/django/core/management/commands/makemessages.py +++ b/django/core/management/commands/makemessages.py @@ -90,7 +90,7 @@ def find_files(root, ignore_patterns, verbosity, stdout=sys.stdout, symlinks=Fal norm_filepath = os.path.normpath(os.path.join(dirpath, filename)) if is_ignored(norm_filepath, ignore_patterns): if verbosity > 1: - stdout.write('ignoring file %s in %s\n' % (f, dirpath)) + stdout.write('ignoring file %s in %s\n' % (filename, dirpath)) else: all_files.extend([(dirpath, filename)]) all_files.sort()