diff options
| author | Andrew Godwin <andrew@aeracode.org> | 2013-09-06 13:37:11 -0700 |
|---|---|---|
| committer | Andrew Godwin <andrew@aeracode.org> | 2013-09-06 13:37:11 -0700 |
| commit | ce5e09353d4ac3bda10f95e1cc8e609b0b397fdc (patch) | |
| tree | 1957be0f37ba94de3f4ac502c6c584793702643c | |
| parent | efd1e6096ee87fe332cf989ba5479e9461d0fb3a (diff) | |
| parent | 559cb826b850faeb7ad198a3a78a38f07dcf3b42 (diff) | |
Merge pull request #1575 from mburst/ticket_21049
Fixed #21049 -- Fixed autoreload for Python 3
| -rw-r--r-- | django/utils/autoreload.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/utils/autoreload.py b/django/utils/autoreload.py index cc9cc1304a..6de15a2916 100644 --- a/django/utils/autoreload.py +++ b/django/utils/autoreload.py @@ -57,7 +57,7 @@ _error_files = [] def code_changed(): global _mtimes, _win filenames = [] - for m in sys.modules.values(): + for m in list(sys.modules.values()): try: filenames.append(m.__file__) except AttributeError: |
