From 8e64ea1ed231583d3caaf5805272ee47a8f1ab78 Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Wed, 2 Dec 2009 00:12:20 +0000 Subject: [PATCH] remove all refrences to self, this is not a class --- sfa/plc/peers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sfa/plc/peers.py b/sfa/plc/peers.py index 8a699e7d..c95a61f6 100644 --- a/sfa/plc/peers.py +++ b/sfa/plc/peers.py @@ -12,7 +12,7 @@ def get_peer(api, hrn): # get this site's authority (sfa root authority or sub authority) site_authority = get_authority(slice_authority).lower() # check if we are already peered with this site_authority, if so - peers = self.api.plshell.GetPeers(self.api.plauth, {}, \ + peers = api.plshell.GetPeers(api.plauth, {}, \ ['peer_id', 'peername', 'shortname', 'hrn_root']) for peer_record in peers: names = [name.lower() for name in peer_record.values() if isinstance(name, StringTypes)] -- 2.43.0