[FIX] Calling random.seed() with a constant is Bad(TM)
bzr revid: odo@openerp.com-20120215155424-smixp8x6pqyk97lo
This commit is contained in:
parent
6f874454bf
commit
3a2159444c
|
@ -30,7 +30,6 @@ from report.interface import report_int
|
|||
from pychart import *
|
||||
|
||||
theme.use_color = 1
|
||||
random.seed(0)
|
||||
|
||||
class external_pdf(render):
|
||||
|
||||
|
|
|
@ -27,14 +27,11 @@ from dateutil.relativedelta import relativedelta
|
|||
|
||||
from report.misc import choice_colors
|
||||
|
||||
import random
|
||||
import StringIO
|
||||
|
||||
from pychart import *
|
||||
|
||||
|
||||
theme.use_color = 1
|
||||
random.seed(0)
|
||||
|
||||
#
|
||||
# TODO: Bad code, seems buggy, TO CHECK !
|
||||
|
|
Loading…
Reference in New Issue