From: Tony Mack Date: Mon, 19 Mar 2012 15:42:46 +0000 (-0400) Subject: fix AttributeError X-Git-Tag: sfa-2.1-4~8 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=ac15e7fc07330ee2da166cc42a8a59fac7613c06;p=sfa.git fix AttributeError --- diff --git a/sfa/importer/__init__.py b/sfa/importer/__init__.py index 84e59924..9fc4e2b0 100644 --- a/sfa/importer/__init__.py +++ b/sfa/importer/__init__.py @@ -77,9 +77,9 @@ class Importer: """ # just create certs for all sfa interfaces even if they # aren't enabled - auth_info = self.auth_hierarchy.get_auth_info(self.interface_hrn) + auth_info = self.auth_hierarchy.get_auth_info(self.config.SFA_INTERFACE_HRN) pkey = auth_info.get_pkey_object() - hrn=self.interface_hrn + hrn=self.config.SFA_INTERFACE_HRN for type in [ 'authority+sa', 'authority+am', 'authority+sm', ]: urn = hrn_to_urn(hrn, type) gid = self.auth_hierarchy.create_gid(urn, create_uuid(), pkey)