git://git.onelab.eu
/
sfa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bug fix
[sfa.git]
/
sfa
/
managers
/
aggregate_manager_pl.py
diff --git
a/sfa/managers/aggregate_manager_pl.py
b/sfa/managers/aggregate_manager_pl.py
index
c05f1c8
..
c5f57fe
100644
(file)
--- a/
sfa/managers/aggregate_manager_pl.py
+++ b/
sfa/managers/aggregate_manager_pl.py
@@
-182,8
+182,7
@@
def get_rspec(api, xrn=None, origin_hrn=None):
hrn, type = urn_to_hrn(xrn)
network = Network(api)
if (hrn):
- network.get_slice(api, hrn)
- if slice:
+ if network.get_slice(api, hrn):
network.addSlice()
return network.toxml()