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:
bf49e8b
)
fix dbsession retrieval in plaggregate
author
Mohamed Larabi
<mohamed.larabi@inria.fr>
Thu, 21 Nov 2013 13:37:40 +0000
(14:37 +0100)
committer
Mohamed Larabi
<mohamed.larabi@inria.fr>
Thu, 21 Nov 2013 13:37:40 +0000
(14:37 +0100)
sfa/planetlab/plaggregate.py
patch
|
blob
|
history
diff --git
a/sfa/planetlab/plaggregate.py
b/sfa/planetlab/plaggregate.py
index
399b3a2
..
fdb5fc1
100644
(file)
--- a/
sfa/planetlab/plaggregate.py
+++ b/
sfa/planetlab/plaggregate.py
@@
-434,7
+434,7
@@
class PlAggregate:
geni_urn = urns[0]
sliver_ids = [sliver['sliver_id'] for sliver in slivers]
constraint = SliverAllocation.sliver_id.in_(sliver_ids)
- sliver_allocations =
dbsession
.query(SliverAllocation).filter(constraint)
+ sliver_allocations =
self.driver.api.dbsession()
.query(SliverAllocation).filter(constraint)
sliver_allocation_dict = {}
for sliver_allocation in sliver_allocations:
geni_urn = sliver_allocation.slice_urn