示例#1
0
    def run(self, req):
        """ mod_python calls this with its request object. We don't
            need it cause its already passed to __init__. So ignore
            it and just return RequestBase.run.

            @param req: the mod_python request instance
        """
        return RequestBase.run(self)
示例#2
0
 def run(self):
     """ Handle delayed errors then invoke base class run """
     if hasattr(self, 'delayedError'):
         self.fail(self.delayedError)
         return self.finish()
     RequestBase.run(self)