From: Tony Mack Date: Fri, 12 Jun 2009 23:34:33 +0000 (+0000) Subject: slice_hrn should be hrn X-Git-Tag: sfa-0.9-0@14641~284 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=8ef87efdf27b133e931f9ed603ef5724b2b90603;p=sfa.git slice_hrn should be hrn --- diff --git a/geni/util/slices.py b/geni/util/slices.py index 868331ce..f60c23b2 100644 --- a/geni/util/slices.py +++ b/geni/util/slices.py @@ -131,7 +131,7 @@ class Slices(SimpleStorage): if record.get_type() in ['slice']: slice = record.as_dict() if not slice: - raise RecordNotFound(slice_hrn) + raise RecordNotFound(hrn) # Make sure slice exists at plc, if it doesnt add it slicename = hrn_to_pl_slicename(hrn) @@ -243,7 +243,6 @@ class Slices(SimpleStorage): for aggregate in rspecs.keys(): try: aggregates[aggregate].create_slice(credential, hrn, rspecs[aggregate]) - print aggregate except: print >> log, "Error creating slice %(hrn)s at aggregate %(aggregate)s" % locals() return 1