timid/extensions.py
def finalize(self, ctxt, result):
        """
        Called at the end of processing.  This call allows extensions to
        emit any additional data, such as timing information, prior to
        ``timid``'s exit.  Extensions may also alter the return value.

        :param ctxt: An instance of ``timid.context.Context``.
        :param result: The return value of the basic ``timid`` call,
                       or an ``Exception`` instance if an exception
                       was raised.  Without the extension, this would
                       be passed directly to ``sys.exit()``.

        :returns: The final result.
        """

        debugger = ExtensionDebugger('finalize')

        for ext in self.exts:
            with debugger(ext):
                result = ext.finalize(ctxt, result)

        return result
def finalize(self, ctxt, result):
        debugger = ExtensionDebugger('finalize')

        for ext in self.exts:
            with debugger(ext):
                result = ext.finalize(ctxt, result)

        return result
def finalize ( self , ctxt , result ) : debugger = ExtensionDebugger ( 'finalize' ) for ext in self . exts : with debugger ( ext ) : result = ext . finalize ( ctxt , result ) return result
Called at the end of processing.  This call allows extensions to
        emit any additional data, such as timing information, prior to
        ``timid``'s exit.  Extensions may also alter the return value.

        :param ctxt: An instance of ``timid.context.Context``.
        :param result: The return value of the basic ``timid`` call,
                       or an ``Exception`` instance if an exception
                       was raised.  Without the extension, this would
                       be passed directly to ``sys.exit()``.

        :returns: The final result.
Called at the end of processing . This call allows extensions to emit any additional data such as timing information prior to timid s exit . Extensions may also alter the return value .