summaryrefslogtreecommitdiffstats
path: root/sfc/lib/topology_shuffler.py
diff options
context:
space:
mode:
Diffstat (limited to 'sfc/lib/topology_shuffler.py')
-rw-r--r--sfc/lib/topology_shuffler.py2
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)