Ignore:
Timestamp:
21 Sep 2012, 08:19:35 (12 years ago)
Author:
uli
Message:

Rollback r9209. Looks like multiple merges from trunk confuse svn when merging back into trunk.

Location:
main/waeup.kofa/branches/uli-zc-async
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/branches/uli-zc-async

  • main/waeup.kofa/branches/uli-zc-async/src/waeup/kofa/hostels/interfaces.py

    r9209 r9211  
    1717##
    1818from datetime import datetime
    19 from zope.interface import invariant, Invalid, Attribute
     19from zope.interface import invariant, Invalid
    2020from zope import schema
    2121from waeup.kofa.interfaces import (
     
    5858        )
    5959
    60     def clearAllHostels():
    61         """Clear all hostels.
    62         """
    63 
    6460class IHostel(IKofaObject):
    6561    """A base representation of hostels.
     
    6763    """
    6864
    69     bed_statistics = Attribute('Number of booked and total beds')
    70 
    7165    def loggerInfo(ob_class, comment):
    7266        """Adds an INFO message to the log file
    73         """
    74 
    75     def clearHostel():
    76         """Remove all beds.
    7767        """
    7868
     
    135125        )
    136126
    137     beds_for_pre= schema.List(
    138         title = _(u'Beds for Pre-Study Students'),
    139         value_type = schema.Choice(
    140             vocabulary = bed_letters
    141             ),
    142         )
    143 
    144127    beds_for_fresh = schema.List(
    145128        title = _(u'Beds for Fresh Students'),
     
    189172                hostel.beds_for_returning +
    190173                hostel.beds_for_final +
    191                 hostel.beds_for_pre +
    192174                hostel.beds_for_all)
    193175        if len(beds) != len(set(beds)):
     
    199181    """
    200182
    201     coordinates = Attribute('The coordinates of the bed from bed_id')
    202 
    203183    def loggerInfo(ob_class, comment):
    204184        """Adds an INFO message to the log file
    205185        """
    206186
     187    def getBedCoordinates():
     188        """Determine the coordinates from bed_id.
     189        """
    207190    def bookBed(student_id):
    208191        """Book a bed for a student.
Note: See TracChangeset for help on using the changeset viewer.