Last change
on this file since 1393 was
1393,
checked in by joachim, 18 years ago
|
new method book_reserved_bed to book a reserved bed for a student
|
-
Property svn:keywords set to
Id
|
File size:
191 bytes
|
Line | |
---|
1 | ##parameters=key=None |
---|
2 | # $Id: getAccoHallBeds.py 1393 2007-02-05 21:42:08Z joachim $ |
---|
3 | """ |
---|
4 | Return the bedletters as an vocabulary |
---|
5 | |
---|
6 | """ |
---|
7 | doc = context.getContent() |
---|
8 | if key is None: |
---|
9 | return [(l,l) for l in 'ABCDEFGH'[:doc.beds_per_room]] |
---|
10 | return key |
---|
Note: See
TracBrowser for help on using the repository browser.