Ticket #8157: pyo.diff
File pyo.diff, 699 bytes (added by , 16 years ago) |
---|
-
django/utils/autoreload.py
50 50 win = (sys.platform == "win32") 51 51 while RUN_RELOADER: 52 52 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"): 54 54 filename = filename[:-1] 55 55 if not os.path.exists(filename): 56 56 continue # File might be in an egg, so it can't be reloaded.