Ticket #8157: pyo.diff

File pyo.diff, 699 bytes (added by Jeff Balogh, 16 years ago)

diff against r8226

  • django/utils/autoreload.py

     
    5050    win = (sys.platform == "win32")
    5151    while RUN_RELOADER:
    5252        for filename in filter(lambda v: v, map(lambda m: getattr(m, "__file__", None), sys.modules.values())):
    53             if filename.endswith(".pyc") or filename.endswith("*.pyo"):
     53            if filename.endswith(".pyc") or filename.endswith(".pyo"):
    5454                filename = filename[:-1]
    5555            if not os.path.exists(filename):
    5656                continue # File might be in an egg, so it can't be reloaded.
Back to Top