From: Tony Mack Date: Wed, 2 Dec 2009 00:12:20 +0000 (+0000) Subject: remove all refrences to self, this is not a class X-Git-Tag: sfa-0.9-7~225 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=8e64ea1ed231583d3caaf5805272ee47a8f1ab78;hp=0e4388851b34f3a39b963d4f10c825cdd41226cb;p=sfa.git remove all refrences to self, this is not a class --- 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)]