diff options
Diffstat (limited to 'sfc/lib/topology_shuffler.py')
-rw-r--r-- | sfc/lib/topology_shuffler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfc/lib/topology_shuffler.py b/sfc/lib/topology_shuffler.py index ccabe427..bfa86420 100644 --- a/sfc/lib/topology_shuffler.py +++ b/sfc/lib/topology_shuffler.py @@ -60,7 +60,7 @@ def _get_seed(): NOTE: There's sure a smarter way to do this Probably with the Jenkins job id ''' - cutoff = len(TOPOLOGIES - 1) + cutoff = len(TOPOLOGIES) - 1 seed = datetime.datetime.today().weekday() if seed > cutoff: seed = random.randrange(cutoff) |