Skip to content
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...
1 parent eb6c107 commit f9a46d7bc9b321214f75c2e5fa8f416405a59ed9 Thomas Bartelmess committed with ramiro
Showing with 2 additions and 0 deletions.
  1. +2 −0 django/utils/
2 django/utils/
@@ -63,6 +63,8 @@ def code_changed():
except AttributeError:
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"):

0 comments on commit f9a46d7

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