mirror of
https://github.com/django/django.git
synced 2025-03-24 00:00:45 +00:00
Merge pull request #1575 from mburst/ticket_21049
Fixed #21049 -- Fixed autoreload for Python 3
This commit is contained in:
commit
ce5e09353d
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user