Ignore:
Timestamp:
3 Feb 2010, 11:55:41 (15 years ago)
Author:
Henrik Bettermann
Message:

Remove category attribute.
max_pass and application_category must not be required.

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

    r4920 r4993  
    1515
    1616    def __init__(self, code=u'NA', title=u'Unnamed Certificate',
    17                  category=None, study_mode=None, start_level=None,
     17                 study_mode=None, start_level=None,
    1818                 end_level=None, application_category=None, max_pass = u''):
    1919        super(Certificate, self).__init__()
    2020        self.code = code
    2121        self.title = title
    22         self.category = category
    2322        self.study_mode = study_mode
    2423        self.start_level = start_level
  • main/waeup.sirp/trunk/src/waeup/sirp/university/certificate.txt

    r4920 r4993  
    2323--------------------
    2424
    25 .. class:: Certificate([code=u'NA',[ title=u'Unnamed Certificate',[ category=None,[ study_mode=None,[ start_level=None,[ end_level=None,[ application_category=None,[ m_prefix=u'',[  max_pass = u'']]]]]]]]])
     25.. 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'']]]]]]]])
    2626
    2727   Create a certificate object with the given parameters.
     
    7777         :meth:`Certificate.check` -- mark a certificate as ``checked``
    7878
    79    .. attribute:: category
    80 
    81       Each :class:`Certificate` instance has a category:
    82 
    83         >>> print mycertificate.category
    84         None
    85 
    86       .. XXX: This is not a proper description
    8779
    8880   .. attribute:: study_mode
Note: See TracChangeset for help on using the changeset viewer.