utils/autoreload.py doesn't find .pyo files
|Reported by:||Jeff Balogh||Owned by:||Eric Holscher|
|Cc:||Triage Stage:||Ready for checkin|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
filename.endswith("*.pyo") in the file finder, but
endswith doesn't accept globs.
This could be tested by pulling the endswith logic into a separate function, but I don't think it's worth it.