Ejemplo n.º 1
0
    def __init__(self, url, config, logger, context):
        TinyHandler.__init__(self, config, logger, context)

        self._file = None
        self._file_name = self._config['example.handler.filename'] % url
        self._url = 'http://%s/' % url

        self._summary = context['summary'] if 'summary' in context else ExampleHandlerSummary()
        context['summary'] = self._summary
Ejemplo n.º 2
0
    def __init__(self, url, config, logger, context):
        TinyHandler.__init__(self, config, logger, context)

        self._file = None
        self._file_name = self._config['example.handler.filename'] % url
        self._url = 'http://%s/' % url

        self._summary = context[
            'summary'] if 'summary' in context else ExampleHandlerSummary()
        context['summary'] = self._summary
Ejemplo n.º 3
0
 def on_timer(self, key):
     TinyHandler.on_timer(self, key)
Ejemplo n.º 4
0
 def on_timer(self, key):
     TinyHandler.on_timer(self, key)