From 5616d8e1330172bc224ea3523d81e1059625e652 Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Thu, 6 Aug 2009 17:10:57 +0000 Subject: [PATCH] in get_peer(), convert values to lowercase before trying to find a match --- sfa/plc/slices.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']) -- 2.43.0