[Ml-yokadi] static method

Aurélien Gâteau aurelien.gateau at free.fr
Wed Aug 26 22:17:56 CEST 2009


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.

Aurélien



More information about the Ml-yokadi mailing list