From 3950e3e0a0e1850d04ba3f28fbcbea8bbfe69451 Mon Sep 17 00:00:00 2001 From: Scott Baker Date: Thu, 1 Oct 2009 06:34:06 +0000 Subject: [PATCH] remove dependency of Config module from trustedroots module --- sfa/trust/auth.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sfa/trust/auth.py b/sfa/trust/auth.py index 2f807a7d..83cded0f 100644 --- a/sfa/trust/auth.py +++ b/sfa/trust/auth.py @@ -24,10 +24,10 @@ class Auth: def __init__(self, peer_cert = None, config = None ): self.peer_cert = peer_cert self.hierarchy = Hierarchy() - self.trusted_cert_list = TrustedRootList().get_list() if not config: - self.config = Config() - + self.config = Config() + self.trusted_cert_list = TrustedRootList(self.config.get_trustedroots_dir()).get_list() + def check(self, cred, operation): """ -- 2.43.0