Code

Opened 6 years ago

Closed 6 years ago

#8157 closed (fixed)

utils/autoreload.py doesn't find .pyo files

Reported by: jbalogh Owned by: ericholscher
Component: Uncategorized Version: master
Severity: Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

It's using 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.

Attachments (1)

pyo.diff (699 bytes) - added by jbalogh 6 years ago.
diff against r8226

Download all attachments as: .zip

Change History (4)

Changed 6 years ago by jbalogh

diff against r8226

comment:1 Changed 6 years ago by mtredinnick

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Ready for checkin

comment:2 Changed 6 years ago by ericholscher

  • Owner changed from nobody to ericholscher
  • Status changed from new to assigned

comment:3 Changed 6 years ago by mtredinnick

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [8235]) Made auto-reloading for the dev server a little more friendly in the Jython
case. Patch from Leo Soto. Fixed #8147.

In passing, also corrected a typo when reloading .pyo files. Fixed #8157.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.