Skip to content
This repository has been archived by the owner on Dec 5, 2021. It is now read-only.

Commit

Permalink
Remove deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
mardiros committed May 30, 2017
1 parent fef327f commit d48e68d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyshop/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def add_urlhelpers(event):
route_path(name, event['request'], *args, **kwargs)
event['parse_rest'] = parse_rest
event['has_permission'] = lambda perm: \
has_permission(perm, event['request'].context, event['request'])
event['request'].has_permission(perm)


def includeme(config):
Expand Down

0 comments on commit d48e68d

Please sign in to comment.