Ignore:
Timestamp:
14 Apr 2011, 16:47:33 (14 years ago)
Author:
Henrik Bettermann
Message:

Remove level attribute from course class.

Location:
main/waeup.sirp/trunk/src/waeup/sirp/university
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/university/course.py

    r5005 r5944  
    1414                 title=u'Unnamed Course',
    1515                 code=u'NA',
    16                  level=None,
    1716                 credits=0,
    1817                 passmark=40,
     
    2120        self.title = title
    2221        self.code = code
    23         self.level = level
    2422        self.credits = credits
    2523        self.passmark = passmark
  • main/waeup.sirp/trunk/src/waeup/sirp/university/course.txt

    r5140 r5944  
    1515---------------
    1616
    17 .. class:: Course([code=u'NA'[, title=u'Unnamed Course'[, level=None[, credits=0[, passmark=40[, semester=1]]]]]])
     17.. class:: Course([code=u'NA'[, title=u'Unnamed Course'[, credits=0[, passmark=40[, semester=1]]]]]])
    1818
    1919   Create a course instance with the given parameters.
     
    8181        0
    8282
    83    .. attribute:: level
    84 
    85       Courses can have a level. This attribute is not required and the
    86       default value is ``None``:
    87 
    88         >>> mycourse.level is None
    89         True
    9083
    9184
  • main/waeup.sirp/trunk/src/waeup/sirp/university/interfaces.py

    r5051 r5944  
    109109        )
    110110
    111     level = schema.TextLine(
    112         title = u'Level',
    113         default = u'100',
    114         required = False,
    115         )
    116 
    117111    credits = schema.Int(
    118112        title = u'Credits',
Note: See TracChangeset for help on using the changeset viewer.