[Ml-yokadi] utils strike back

Aurélien Gâteau aurelien.gateau at free.fr
Tue May 26 11:56:21 CEST 2009


Sébastien Renard wrote:
> Hello,
> 
> I know you won't like it, but I have been forced to create a utils.py to 
> factorize the currentVersion and YokadiSharePath stuff for the following 
> reasons :
> - it was bloated yokadi.py (well, not a strong reason, I admit)
> - code was needed by db.py module and I don't want to make circular import 
> (that's the real one).
> 
> Of course, I would be very happy to find another name, but for instance this 
> could not fit into either dbtils, dateutils or parseutils.

I wanted to split previous utils.py because it was quite easy to group
functions it contains together. If you can't find a grouping name for
these functions you need (and I can't find it either), then creating a
utils.py is fine with me.
Maybe later we can find a better name, or when we add more functions a
group name will emerge.

> BTW, update scripts are now included into yokadi package and work outside 
> source tree.

Good.

> I'll push that code tonight.

Go for it!

Aurélien


More information about the Ml-yokadi mailing list