##parameters=key=None,doc=None
# $Id: getAccoHallBeds.py 1447 2007-02-20 13:41:26Z joachim $
"""
Return the bedletters as an vocabulary

"""
if doc is None:
    doc = context.getContent()
if key is None:
    return [(l,l) for l in 'ABCDEFGH'[:doc.beds_per_room]]
return key
