From aea0ff5747601a9c9330db76f376655409228ab0 Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Wed, 20 Jul 2011 08:28:09 -0400 Subject: [PATCH] __getCreentialRaw(): get the correct authority record type --- sfa/plc/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sfa/plc/api.py b/sfa/plc/api.py index 200d05c5..28e27483 100644 --- a/sfa/plc/api.py +++ b/sfa/plc/api.py @@ -188,7 +188,7 @@ class SfaAPI(BaseAPI): auth_hrn = hrn auth_info = self.auth.get_auth_info(auth_hrn) table = self.SfaTable() - records = table.findObjects(hrn) + records = table.findObjects({'hrn': hrn, 'type': 'authority+sa'}) if not records: raise RecordNotFound record = records[0] -- 2.47.0