fix NameError
authorTony Mack <tmack@paris.CS.Princeton.EDU>
Thu, 27 Feb 2014 14:13:18 +0000 (09:13 -0500)
committerTony Mack <tmack@paris.CS.Princeton.EDU>
Thu, 27 Feb 2014 14:13:18 +0000 (09:13 -0500)
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()