fix NameError
[sfa.git] / sfa / planetlab / plslices.py
index 68ea2aa..b39f92b 100644 (file)
@@ -376,7 +376,7 @@ class PlSlices:
         #else:
         #    login_base = hash_loginbase(site_hrn)
         #slice_name = '_'.join([login_base, slice_part])
-        plxrn = PlXrn(xrn=slice_xrn)
+        plxrn = PlXrn(xrn=slice_hrn)
         slice_hrn = plxrn.get_hrn()
         type = plxrn.get_type()
         site_hrn = plxrn.get_authority_hrn()