git://git.onelab.eu
/
sfa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
0e43888
)
remove all refrences to self, this is not a class
author
Tony Mack
<tmack@cs.princeton.edu>
Wed, 2 Dec 2009 00:12:20 +0000
(
00:12
+0000)
committer
Tony Mack
<tmack@cs.princeton.edu>
Wed, 2 Dec 2009 00:12:20 +0000
(
00:12
+0000)
sfa/plc/peers.py
patch
|
blob
|
history
diff --git
a/sfa/plc/peers.py
b/sfa/plc/peers.py
index
8a699e7
..
c95a61f
100644
(file)
--- 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
# 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)]
['peer_id', 'peername', 'shortname', 'hrn_root'])
for peer_record in peers:
names = [name.lower() for name in peer_record.values() if isinstance(name, StringTypes)]