Skip to content

Commit

Permalink
Replace config.set_request_property by config.add_request_method
Browse files Browse the repository at this point in the history
For compatibility with pyramid 1.10
  • Loading branch information
arnaud-morvan committed Apr 8, 2020
1 parent 69658b5 commit cb4c2be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyramid_ldap/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ def get_connector(request):
registry = request.registry
return Connector(registry, manager)

config.set_request_property(get_connector, 'ldap_connector', reify=True)
config.add_request_method(get_connector, 'ldap_connector', property=True, reify=True)

intr = config.introspectable(
'pyramid_ldap setup',
Expand Down

0 comments on commit cb4c2be

Please sign in to comment.