source: main/waeup.sirp/trunk/src/waeup/sirp/hostel/hostel.py @ 6693

Last change on this file since 6693 was 4920, checked in by uli, 15 years ago

Make unit tests run again with the new package layout.

  • Property svn:eol-style set to native
File size: 329 bytes
Line 
1import grok
2from waeup.sirp.interfaces import IHostel
3
4class Hostel(grok.Container):
5    """This is a hostel record.
6    """   
7    grok.implements(IHostel)
8 
9    def __init__(self, name=u'Unnamed Hostel', **kw):
10        super(Hostel, self).__init__(**kw)
11        self.name = name
12
13grok.global_utility(Hostel, provides=IHostel)
Note: See TracBrowser for help on using the repository browser.