def _makehandler(self): if hasattr(self, 'handler'): return vfs = VFS_Zip(self.config, self.vfs, self.basename) from pygopherd.handlers import HandlerMultiplexer self.handler = HandlerMultiplexer.getHandler(self.getselector(), self.searchrequest, self.protocol, self.config, vfs = vfs)
def _makehandler(self): if hasattr(self, 'handler'): return vfs = VFS_Zip(self.config, self.vfs, self.basename) from pygopherd.handlers import HandlerMultiplexer self.handler = HandlerMultiplexer.getHandler(self.getselector(), self.searchrequest, self.protocol, self.config, vfs=vfs)
def gethandler(self): """Gets the handler for this object's selector.""" if not self.handler: self.handler = HandlerMultiplexer.getHandler( self.selector, self.searchrequest, self, self.config) return self.handler
def gethandler(self): """Gets the handler for this object's selector.""" if not self.handler: self.handler = HandlerMultiplexer.getHandler(self.selector, self.searchrequest, self, self.config) return self.handler