Permalink
Browse files

view_mapper -> mapper

  • Loading branch information...
1 parent 12a4367 commit c94c41289c3638596f68708b873dd268c2077a72 @mcdonc mcdonc committed Jan 30, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 pyramid_xmlrpc/__init__.py
@@ -142,7 +142,7 @@ def __init__(self, name='', request_type=None, for_=None, permission=None,
route_name=None, request_method=None, request_param=None,
containment=None, attr=None, wrapper=None, xhr=False,
accept=None, header=None, path_info=None, custom_predicates=(),
- context=None, view_mapper=MapplyViewMapper,
+ context=None, mapper=MapplyViewMapper,
renderer='xmlrpc'):
self.name = name
if request_type is None:
@@ -162,7 +162,7 @@ def __init__(self, name='', request_type=None, for_=None, permission=None,
self.path_info = path_info
self.custom_predicates = custom_predicates
self.renderer = renderer
- self.view_mapper = view_mapper
+ self.mapper = mapper
self.custom_predicates = custom_predicates
def xmlrpc_renderer_factory(info):

0 comments on commit c94c412

Please sign in to comment.