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:
40e8b0b
)
added request_hash to get_slices() call
author
Tony Mack
<tmack@cs.princeton.edu>
Fri, 16 Oct 2009 03:57:26 +0000
(
03:57
+0000)
committer
Tony Mack
<tmack@cs.princeton.edu>
Fri, 16 Oct 2009 03:57:26 +0000
(
03:57
+0000)
sfa/plc/slices.py
patch
|
blob
|
history
diff --git
a/sfa/plc/slices.py
b/sfa/plc/slices.py
index
717a9d2
..
88e29c9
100644
(file)
--- a/
sfa/plc/slices.py
+++ b/
sfa/plc/slices.py
@@
-103,9
+103,11
@@
class Slices(SimpleStorage):
slice_hrns = []
aggregates = Aggregates(self.api)
credential = self.api.getCredential()
+ arg_list = [credential]
+ request_hash = self.api.key.compute_hash(arg_list)
for aggregate in aggregates:
try:
- slices = aggregates[aggregate].get_slices(credential)
+ slices = aggregates[aggregate].get_slices(credential
, request_hash
)
slice_hrns.extend(slices)
except:
print >> log, "Error calling slices at aggregate %(aggregate)s" % locals()