Revert "Merge pull request #2508 from tomwys/patch-1"

This reverts commit c45607e939, reversing
changes made to 9769337ca8.
This commit is contained in:
Alex Gaynor 2014-04-02 09:45:42 -07:00
parent 66cbd81456
commit 666990a2a0
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ def gen_filenames():
Yields a generator over filenames referenced in sys.modules and translation
files.
"""
filenames = [filename.__file__ for filename in sys.modules.values()
filenames = [filename.__file__ for filename in list(sys.modules.values())
if hasattr(filename, '__file__')]
if settings.USE_I18N: