Ignore:
Timestamp:
14 Apr 2011, 21:23:48 (14 years ago)
Author:
Henrik Bettermann
Message:

Remove max_pass attribute.

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

Legend:

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

    r5052 r5947  
    2121    def __init__(self, code=u'NA', title=u'Unnamed Certificate',
    2222                 study_mode=None, start_level=None,
    23                  end_level=None, application_category=None, max_pass = u''):
     23                 end_level=None, application_category=None):
    2424        super(Certificate, self).__init__()
    2525        self.code = code
     
    2929        self.end_level = end_level
    3030        self.application_category = application_category
    31         self.max_pass = max_pass
    3231        # Initialize workflow state...
    3332        self.setReviewState('unchecked')
     
    6867
    6968    def delCourseRef(self, code, level=None):
    70         """Delete a course denoted by its code.
     69        """Delete a course reference denoted by its code.
    7170        """
    7271        for key in self.keys():
     
    7978            self._p_changed = True
    8079        return
    81 
    82 
    83 
    8480
    8581class CertificateFactory(grok.GlobalUtility):
  • main/waeup.sirp/trunk/src/waeup/sirp/university/certificate.txt

    r5140 r5947  
    1717--------------------
    1818
    19 .. class:: Certificate([code=u'NA',[ title=u'Unnamed Certificate',[ study_mode=None,[ start_level=None,[ end_level=None,[ application_category=None,[ m_prefix=u'',[  max_pass = u'']]]]]]]])
     19.. class:: Certificate([code=u'NA',[ title=u'Unnamed Certificate',[ study_mode=None,[ start_level=None,[ end_level=None,[ application_category=None,[ m_prefix=u'']]]]]]])
    2020
    2121   Create a certificate object with the given parameters.
     
    110110
    111111   
    112    .. attribute:: max_pass
    113 
    114       Each :class:`Certificate` instance has a maximum number of passes:
    115 
    116         >>> mycertificate.max_pass
    117         u''
    118 
    119       .. XXX: This is not a proper description
    120 
    121 
    122112   .. method:: check()
    123113
Note: See TracChangeset for help on using the changeset viewer.