check name stripping overly agressive

Bug #1041364 reported by James Westby
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Django Pre-flight
New
Undecided
Unassigned

Bug Description

Hi,

            check = Check(check_name.lstrip('check_'), bound_method)

applied to something like "check_celery" gives "lery", because it doesn't remove that string, it
consumes the string until it finds a character not in that set.

Thanks,

James

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.