Changeset 13441


Ignore:
Timestamp:
12 Nov 2015, 05:22:08 (9 years ago)
Author:
Henrik Bettermann
Message:

Start customizing the selectBed method.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.uniben/trunk/src/waeup/uniben/students/utils.py

    r13340 r13441  
    382382        return None
    383383
     384    def selectBed(self, available_beds):
     385        """Select a bed from a list of available beds.
     386        In the base configuration we select the first bed found,
     387        but can also randomize the selection if we like.
     388        """
     389        return available_beds[0]
     390
    384391    # Uniben prefix
    385392    STUDENT_ID_PREFIX = u'B'
Note: See TracChangeset for help on using the changeset viewer.