mirror of
https://github.com/django/django.git
synced 2025-10-01 22:41:31 +00:00
Merge pull request #1575 from mburst/ticket_21049
Fixed #21049 -- Fixed autoreload for Python 3
This commit is contained in:
commit
ce5e09353d
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ _error_files = []
|
||||||
def code_changed():
|
def code_changed():
|
||||||
global _mtimes, _win
|
global _mtimes, _win
|
||||||
filenames = []
|
filenames = []
|
||||||
for m in sys.modules.values():
|
for m in list(sys.modules.values()):
|
||||||
try:
|
try:
|
||||||
filenames.append(m.__file__)
|
filenames.append(m.__file__)
|
||||||
except AttributeError:
|
except AttributeError:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue