From: Tony Mack Date: Wed, 1 Apr 2009 21:30:48 +0000 (+0000) Subject: fix bug in getResources X-Git-Tag: sfa-0.9-0@14641~533 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=aa35dd75a012b458da9a9b06ebc17bdf5a7f4a9c;p=sfa.git fix bug in getResources --- diff --git a/geni/slicemgr.py b/geni/slicemgr.py index 7448b58f..605daf98 100644 --- a/geni/slicemgr.py +++ b/geni/slicemgr.py @@ -285,7 +285,7 @@ class SliceMgr(GeniServer): # check if the slice has resources at this hrn slice_resources = self.aggregates[hrn].get_resources(self.credential, slice_hrn) rspec.parseString(slice_resources) - networks.extend({'NetSpec': rspec.getDictsByTagName('NetSpec')}) + networks.extend([{'NetSpec': rspec.getDictsByTagName('NetSpec')}]) # merge all these rspecs into one start_time = int(datetime.datetime.now().strftime("%s"))