git://git.onelab.eu
/
sfa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd2afb5
)
fix bug in getResources
author
Tony Mack
<tmack@cs.princeton.edu>
Wed, 1 Apr 2009 21:30:48 +0000
(21:30 +0000)
committer
Tony Mack
<tmack@cs.princeton.edu>
Wed, 1 Apr 2009 21:30:48 +0000
(21:30 +0000)
geni/slicemgr.py
patch
|
blob
|
history
diff --git
a/geni/slicemgr.py
b/geni/slicemgr.py
index
7448b58
..
605daf9
100644
(file)
--- 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"))