Changeset 12603 for main


Ignore:
Timestamp:
12 Feb 2015, 08:22:49 (10 years ago)
Author:
uli
Message:

pep8.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/reports.py

    r12584 r12603  
    2727from waeup.kofa.reports import get_generators
    2828
     29
    2930grok.templatedir('templates')
     31
    3032
    3133class ReportsContainerPage(KofaPage):
     
    4850            self.context.delete_report_entry(entry)
    4951            self.flash('Report discarded: %s' % job_id)
    50             ob_class = self.__implemented__.__name__.replace('waeup.kofa.','')
     52            ob_class = self.__implemented__.__name__.replace(
     53                'waeup.kofa.', '')
    5154            grok.getSite().logger.info(
    5255                '%s - report %s discarded' % (ob_class, job_id))
     
    8386    """
    8487    grok.context(IReportsContainer)
     88
    8589    def traverse(self, name):
    8690        """Return a report generator or report if one is registered under
     
    103107            return located(report, self.context, name)
    104108        return None
     109
    105110
    106111class ReportsContainerCreate(KofaPage):
Note: See TracChangeset for help on using the changeset viewer.