Commit f9a46d7b authored by Thomas Bartelmess's avatar Thomas Bartelmess Committed by Ramiro Morales
Browse files

Made dev server autoreloader ignore filenames reported as None.

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

Ref #9589.
parent eb6c1076
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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"):