Ignore:
Timestamp:
18 May 2011, 20:13:47 (14 years ago)
Author:
uli
Message:

Remove whitespaces, cut overlong lines.

File:
1 edited

Legend:

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

    r6087 r6129  
    2525    """
    2626    grok.implements(IUniversity)
    27    
     27
    2828    # Setup authentication for this app. Note: this is only
    2929    # initialized, when a new instance of this app is created.
     
    3434    # The name of the university.
    3535    name=u'Sample University'
    36    
     36
    3737    # The default layout.
    3838    skin=u'gray waeup theme'
    39    
     39
    4040    # The default frontpage.
    4141    frontpage= """
    4242This is the default frontpage of the portal written
    43 in `reStructuredText (reST) <http://docutils.sourceforge.net/docs/user/rst/quickref.html>`_
    44 markup language.
     43in `reStructuredText (reST)
     44<http://docutils.sourceforge.net/docs/user/rst/quickref.html>`_
     45markup language.
    4546
    4647Some more reST examples for getting started:
     
    7273
    7374"""
    74    
     75
    7576    # The default title.
    7677    title=u'Welcome to the Student Information and Registration Portal of %s' % name
    77    
     78
    7879    @property
    7980    def logger(self):
     
    8283        Returns a standard logger object as provided by :mod:`logging`
    8384        module from the standard library.
    84        
     85
    8586        Other components can use this logger to perform log entries
    8687        into the 'main' logfile.
     
    9495            logger = self._setupLogger(logger)
    9596        return logger
    96        
    97    
    98     def __init__(self, name=name, skin=skin, title=title, frontpage=frontpage, **kw):
     97
     98
     99    def __init__(self, name=name, skin=skin, title=title,
     100                 frontpage=frontpage, **kw):
    99101        super(University, self).__init__(**kw)
    100102        self.name = name
     
    147149            '%(asctime)s - %(levelname)s - %(message)s')
    148150        handler.setFormatter(formatter)
    149        
     151
    150152        # Don't send log msgs to ancestors. This stops displaying
    151153        # logmessages on the commandline.
Note: See TracChangeset for help on using the changeset viewer.