mirror of
https://github.com/Kozea/Radicale.git
synced 2025-08-01 18:18:31 +00:00
Rename loader to load_plugin
This commit is contained in:
parent
a8a1fc470b
commit
0cd95f8a39
5 changed files with 6 additions and 5 deletions
|
@ -37,7 +37,7 @@ INTERNAL_TYPES = ("authenticated", "owner_write", "owner_only", "from_file")
|
|||
|
||||
def load(configuration):
|
||||
"""Load the rights module chosen in configuration."""
|
||||
return utils.loader(INTERNAL_TYPES, "rights", "Rights", configuration)
|
||||
return utils.load_plugin(INTERNAL_TYPES, "rights", "Rights", configuration)
|
||||
|
||||
|
||||
def intersect_permissions(a, b="RrWw"):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue