From a52c4ab9a651247383a16423e6ac189694c16cfa Mon Sep 17 00:00:00 2001 From: Anil-Kumar Vengalil Date: Mon, 23 Nov 2009 16:25:27 +0000 Subject: [PATCH] in the case of an SM-SM federation, this check will avoid looping of get_resources call --- sfa/plc/nodes.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sfa/plc/nodes.py b/sfa/plc/nodes.py index 5c0777ae..a8e0b60c 100644 --- a/sfa/plc/nodes.py +++ b/sfa/plc/nodes.py @@ -112,6 +112,7 @@ class Nodes(SimpleStorage): rspec = RSpec() credential = self.api.getCredential() for aggregate in aggregates: + if aggregate not in [self.api.auth.client_cred.get_gid_caller().get_hrn()]: try: caller_cred = self.caller_cred # get the rspec from the aggregate -- 2.43.0