From b7c532762f6373f2423a01f787325483c0b535d1 Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Tue, 4 Aug 2009 19:49:20 +0000 Subject: [PATCH] support 'authority' type --- sfa/methods/register.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sfa/methods/register.py b/sfa/methods/register.py index 5a7f30e1..ee807b8d 100644 --- a/sfa/methods/register.py +++ b/sfa/methods/register.py @@ -62,7 +62,7 @@ class register(Method): if existing_records: raise ExistingRecord(name) - if (type == "sa") or (type=="ma"): + if type in ["authority", "sa", "ma"]: # update the tree if not self.api.auth.hierarchy.auth_exists(name): self.api.auth.hierarchy.create_auth(name) -- 2.43.0