Minor patch - str.lstrip() in place of loops
Gustavo Niemeyer
gustavo at niemeyer.net
Mon Aug 11 17:44:11 PDT 2008
Hello Neil,
(...)
> The obvious thing to do was to submit a patch replacing such things
> with 'return filepath.lstrip("/")'. I personally think it improves
> readability, and I'm sure the versions of that lack lstrip() are no
> longer intended to be supported by smart.
> I hope this is appropriate to the list.
Probably best for a tracker bug, but the list is fine too. That's been
applied on trunk. Thank you very much!
--
Gustavo Niemeyer
http://niemeyer.net
More information about the Smart
mailing list