comparison genshi_view/template/+package+/factory.py_tmpl @ 6:6dbdee663741

respect renamed convention
author k0s <k0scist@gmail.com>
date Fri, 06 Nov 2009 16:52:22 -0500
parents b8e5471794b2
children 8a7731b2126a
comparison
equal deleted inserted replaced
5:86df7b4dbc9c 6:6dbdee663741
25 25
26 keystr = '${project}.' 26 keystr = '${project}.'
27 args = dict([(key.split(keystr, 1)[-1], value) 27 args = dict([(key.split(keystr, 1)[-1], value)
28 for key, value in app_conf.items() 28 for key, value in app_conf.items()
29 if key.startswith(keystr) ]) 29 if key.startswith(keystr) ])
30 app = DispatcherView(**args) 30 app = Dispatcher(**args)
31 return HTTPExceptionHandler(PassthroughFileserver(app, resource_filename(__name__, 'static'))) 31 return HTTPExceptionHandler(PassthroughFileserver(app, resource_filename(__name__, 'static')))
32 32