def _params_default(app=None):
 p = Storage()
 p.name = (app or 'BASE')
 p.default_application = (app or 'init')
 p.default_controller = 'default'
 p.default_function = 'index'
 p.routes_app = []
 p.routes_in = []
 p.routes_out = []
 p.routes_onerror = []
 p.routes_apps_raw = []
 p.error_handler = None
 p.error_message = '<html><body><h1>%s</h1></body></html>'
 p.error_message_ticket = (('<html><body><h1>Internal error</h1>Ticket issued: <a href="/admin/default/ticket/%(ticket)s" target="_blank">%(ticket)s</a></body><!-- this is junk text else IE does not display the page: ' + ('x' * 512)) + ' //--></html>')
 p.routers = None
 p.logging = 'off'
 return p

def _params_default ( app = None ) : p = Storage ( ) p . name = ( app or 'BASE' ) p . default_application = ( app or 'init' ) p . default_controller = 'default' p . default_function = 'index' p . routes_app = [ ] p . routes_in = [ ] p . routes_out = [ ] p . routes_onerror = [ ] p . routes_apps_raw = [ ] p . error_handler = None p . error_message = '<html><body><h1>%s</h1></body></html>' p . error_message_ticket = ( ( '<html><body><h1>Internal error</h1>Ticket issued: <a href="/admin/default/ticket/%(ticket)s" target="_blank">%(ticket)s</a></body><!-- this is junk text else IE does not display the page: ' + ( 'x' * 512 ) ) + ' //--></html>' ) p . routers = None p . logging = 'off' return p
returns a new copy of default parameters .