Message265583
The glitch with the section name was that the second time the name was pulled from the StringVar, it was not stripped. The possible fixes were to strip after the second get, get once in ok(), strip, and pass to name_ok, or get once in name_ok, strip, and return to ok(). Both the latter two simplify the code a bit.
For help-source, the second gets were alreads stripped as well, so the glitch is not present. I applied the patch as posted. If I were to make a change to get once, I would do it in ok rather than in xyz_ok. Maybe when I combine the files. |
|
Date |
User |
Action |
Args |
2016-05-15 05:37:02 | terry.reedy | set | recipients:
+ terry.reedy, taleinat, Todd.Rovito, python-dev, serhiy.storchaka, Saimadhav.Heblikar |
2016-05-15 05:37:02 | terry.reedy | set | messageid: <1463290622.43.0.332126076374.issue20640@psf.upfronthosting.co.za> |
2016-05-15 05:37:02 | terry.reedy | link | issue20640 messages |
2016-05-15 05:37:01 | terry.reedy | create | |
|