[Erp5-dev] ERP5Site_getHelpUrl fixup and Base_getHelpUrl removal proposal

Łukasz Nowak lukasz.nowak at ventis.com.pl
Mon Jul 23 09:29:58 CEST 2007


On 2007-07-23, 09:26:37
Pelletier Vincent <vincent at nexedi.com> wrote:

> Le Vendredi 20 Juillet 2007 16:38, Łukasz Nowak a écrit :
> > I've attached little fixup for ERP5Site_getHelpUrl, which will eat
> > all appended slashes (/) to generate clean URL.
> 
> Wouldn't it be better to use rstrip('/') ?

Yes... You know, it was Friday, the day, when simplest solution won't
come... :)

Luke
-- 
Łukasz Nowak R&D Ventis http://www.ventis.com.pl/
tel: +48 32 768 16 85 fax: +48 32 392 10 61
``Use the Source, Luke...''



More information about the Erp5-dev mailing list