Changeset 6592 for main/waeup.sirp


Ignore:
Timestamp:
11 Aug 2011, 05:26:32 (13 years ago)
Author:
uli
Message:

Shorten University init. It seems we nowhere use keywords on
initialization and there is also no need to do it.

File:
1 edited

Legend:

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

    r6578 r6592  
    2828        ImageStorageFileRetrieval, provides = IFileRetrieval)
    2929
    30     def __init__(self, name=None, skin=None, title=None,
    31                  frontpage=None, **kw):
    32         super(University, self).__init__(**kw)
    33         if name is not None:
    34             self.name = name
    35         if skin is not None:
    36             self.skin = skin
    37         if title is not None:
    38             self.title = title
    39         if frontpage is not None:
    40             self.frontpage = frontpage
     30    def __init__(self, *args, **kw):
     31        super(University, self).__init__(*args, **kw)
    4132        self.setup()
     33        return
    4234
    4335    def setup(self):
Note: See TracChangeset for help on using the changeset viewer.