Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Made dev server autoreloader ignore filenames reported as None.

Useful under Jython. Thanks Thomas Bartelmess for the report and patch.

Ref #9589.
  • Loading branch information...
commit f9a46d7bc9b321214f75c2e5fa8f416405a59ed9 1 parent eb6c107
Thomas Bartelmess authored ramiro committed
Showing with 2 additions and 0 deletions.
  1. +2 −0  django/utils/autoreload.py
View
2  django/utils/autoreload.py
@@ -63,6 +63,8 @@ def code_changed():
except AttributeError:
pass
for filename in filenames + _error_files:
+ if not filename:
+ continue
if filename.endswith(".pyc") or filename.endswith(".pyo"):
filename = filename[:-1]
if filename.endswith("$py.class"):
Please sign in to comment.
Something went wrong with that request. Please try again.