Skip to content
Snippets Groups Projects
Commit aec250822008 authored by Bob Ippolito's avatar Bob Ippolito
Browse files

change entry point

git-svn-id: http://simplejson.googlecode.com/svn/trunk@14 a4795897-2c25-0410-b006-0d3caba88fa1
parent 40c819eaa6f7
No related branches found
No related tags found
No related merge requests found
......@@ -46,6 +46,6 @@
test_suite="nose.collector",
zip_safe=True,
entry_points={
'paste.filter_app_factory': ['json = simplejson.jsonfilter:filter'],
'paste.filter_app_factory': ['json = simplejson.jsonfilter:factory'],
},
)
......@@ -36,7 +36,7 @@
start_response(response['status'], headers)
return [res]
def jsonfilter_factory(global_conf, **kw):
def factory(global_conf, **kw):
def make_filter(app):
return JSONFilter(app, **kw)
return make_filter
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment