From: Tony Mack Date: Thu, 6 Aug 2009 17:10:57 +0000 (+0000) Subject: in get_peer(), convert values to lowercase before trying to find a match X-Git-Tag: sfa-0.9-1~114 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=5616d8e1330172bc224ea3523d81e1059625e652;p=sfa.git in get_peer(), convert values to lowercase before trying to find a match --- diff --git a/sfa/plc/slices.py b/sfa/plc/slices.py index f97cc788..003cd1fc 100644 --- a/sfa/plc/slices.py +++ b/sfa/plc/slices.py @@ -42,7 +42,7 @@ class Slices(SimpleStorage): slice_authority = get_authority(hrn) # get this site's authority (sfa root authority or sub authority) - site_authority = get_authority(slice_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, {}, ['peer_id', 'peername', 'shortname', 'hrn_root'])