diff options
Diffstat (limited to 'utils.py')
-rw-r--r-- | utils.py | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -9,8 +9,6 @@ from django.shortcuts import render """Oddball mixture of critical, superfluous and useful functions which should be re-located more sensibly to other modules: -ChaosMonkey(n) - used by survex import to regenerate some .3d files -save_carefully() - core function that saves troggle objects in the database various HTML/wiki functions presumably for logbooks? @@ -19,12 +17,6 @@ weighted_choice(lst) randomLogbookSentence() """ -def ChaosMonkey(n): - # returns True once every n calls - randomly - if random.randrange(0,n) != 0: - return False - # print("CHAOS strikes !", file=sys.stderr) - return True def weighted_choice(lst): n = random.uniform(0,1) |