##parameters=key=None # $Id: getAccoHallBeds.py 1393 2007-02-05 21:42:08Z joachim $ """ Return the bedletters as an vocabulary """ doc = context.getContent() if key is None: return [(l,l) for l in 'ABCDEFGH'[:doc.beds_per_room]] return key