Ignore:
Timestamp:
9 May 2012, 08:52:17 (13 years ago)
Author:
Henrik Bettermann
Message:

Slim down main.log a bit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/accesscodes/accesscode.py

    r8322 r8389  
    445445
    446446    def update(self, site, name, logger):
     447        site_name = getattr(site, '__name__', '<Unnamed Site>')
    447448        if not 'accesscodes' in site.keys():
    448449            logger.info('Updating site at %s. Installing access codes.' % (
     
    452453            logger.info(
    453454                'AccessCodePlugin: Updating site at %s: Nothing to do.' % (
    454                     site, ))
     455                    site_name, ))
    455456        return
    456457
Note: See TracChangeset for help on using the changeset viewer.