- Timestamp:
- 24 Oct 2012, 06:37:08 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.futminna/trunk/src/waeup/futminna/students/utils.py
r9402 r9403 17 17 ## 18 18 import grok 19 import random 19 20 from time import time 20 21 from zope.component import createObject … … 28 29 29 30 """ 31 32 def selectBed(self, available_beds): 33 """Randomly select a bed from a list of available beds. 34 35 """ 36 return random.choice(available_beds) 30 37 31 38 def getReturningData(self, student):
Note: See TracChangeset for help on using the changeset viewer.