dcron: new recipe to get a random time in a day
Showing
-
Developer
I prefer a
slapos/recipe/random.py
file collecting all kind of random data we may have to generate. The code ofgeneratepassword.py
could even be moved to it. If necessary, other file may have to begin withfrom __future__ import absolute_import
.So as recipe name, I prefer
random.calendar
.Also remove dead code, and add a newline at end of file.
-
Developer
/cc @rafael @vpelletier
-
Developer
I'm also in favor on a random too, seems more generic (which is is better).
-
Developer
Yes, a central recipe collecting all things about random sounds good to me too.
Please register or sign in to comment