From: Tony Mack Date: Wed, 7 Sep 2011 17:50:25 +0000 (-0400) Subject: fix NameError X-Git-Tag: sfa-1.0-36~18^2~2 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=fb97131068ce7f49a7560959b54c440437f6674b;p=sfa.git fix NameError --- 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)