Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #1575 from mburst/ticket_21049

Fixed #21049 -- Fixed autoreload for Python 3
  • Loading branch information...
commit ce5e09353d4ac3bda10f95e1cc8e609b0b397fdc 2 parents efd1e60 + 559cb82
@andrewgodwin andrewgodwin authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/utils/autoreload.py
View
2  django/utils/autoreload.py
@@ -57,7 +57,7 @@
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:

0 comments on commit ce5e093

Please sign in to comment.
Something went wrong with that request. Please try again.