summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sfc/lib/topology_shuffler.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/sfc/lib/topology_shuffler.py b/sfc/lib/topology_shuffler.py
index aea8a75a..84392ed3 100644
--- a/sfc/lib/topology_shuffler.py
+++ b/sfc/lib/topology_shuffler.py
@@ -69,10 +69,8 @@ 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
# We only add the topologies which are working
- topologies_working = 2
- cutoff = topologies_working - 1
seed = datetime.datetime.today().weekday()
if seed > cutoff:
seed = random.randrange(cutoff)