1
0
mirror of https://github.com/django/django.git synced 2024-12-25 10:35:48 +00:00

Fixed undefined variable name in makemessages command code.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17446 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Ramiro Morales 2012-02-04 20:02:46 +00:00
parent d3154d1896
commit a4f68c1b40

View File

@ -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)) norm_filepath = os.path.normpath(os.path.join(dirpath, filename))
if is_ignored(norm_filepath, ignore_patterns): if is_ignored(norm_filepath, ignore_patterns):
if verbosity > 1: if verbosity > 1:
stdout.write('ignoring file %s in %s\n' % (f, dirpath)) stdout.write('ignoring file %s in %s\n' % (filename, dirpath))
else: else:
all_files.extend([(dirpath, filename)]) all_files.extend([(dirpath, filename)])
all_files.sort() all_files.sort()