From fb97131068ce7f49a7560959b54c440437f6674b Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Wed, 7 Sep 2011 13:50:25 -0400 Subject: [PATCH] fix NameError --- 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 84698f3c..b67ded5a 100644 --- a/sfa/plc/slices.py +++ b/sfa/plc/slices.py @@ -230,7 +230,7 @@ class Slices: (slice_hrn, type) = urn_to_hrn(slice_xrn) site_hrn = get_authority(slice_hrn) # login base can't be longer than 20 characters - slicename = hrn_to_pl_slicename(hrn) + slicename = hrn_to_pl_slicename(slice_hrn) authority_name = slicename.split('_')[0] login_base = authority_name[:20] sites = self.api.plshell.GetSites(self.api.plauth, login_base) -- 2.47.0