Skip to content

Commit

Permalink
permissions: change silent to loud warning
Browse files Browse the repository at this point in the history
* Changes DynamicPermissions pending deprecation warning to a full
  deprecation warning.
  • Loading branch information
lnielsen committed Dec 3, 2018
1 parent d17fe21 commit 0e2dead
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion invenio_access/permissions.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,4 +210,4 @@ def __init__(self, *args, **kwargs):
"""Constructor."""
super(DynamicPermission, self).__init__(*args, **kwargs)
warnings.warn("DynamicPermission is scheduled for removal.",
PendingDeprecationWarning)
DeprecationWarning)

0 comments on commit 0e2dead

Please sign in to comment.