[Ml-yokadi] static method
Sébastien Renard
Sebastien.Renard at digitalfox.org
Tue Sep 29 08:45:21 CEST 2009
Le mercredi 26 août 2009 22:17:56, Aurélien Gâteau a écrit :
> Sébastien Renard a écrit :
> > Aurélien,
> >
> > Why do you use staticmethods in textlistrenderer (added in 9e860ccaf) ?
> > We may want to factorise this method in the Task class in db.py for easy
> > reuse in other rendere ?
> > In fact we have already one (getKeywordsAsString) which produce a
> > slightly different output.
> >
> > As you may did that for other purpose I won't change it without your
> > opinion first ;-)
>
> This method is the result of a few iterations and I did not take the
> time to look around while I was refactoring. It's true it looks quite
> similar to getKeywordsAsString(), feel free to factorize.
Done in a5c1e6c (master).
a+
--
Sébastien
More information about the Ml-yokadi
mailing list