From d19daaaa783830706e04dc1a887b95c396c15f30 Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Fri, 16 Oct 2009 03:57:26 +0000 Subject: [PATCH] added request_hash to get_slices() call --- sfa/plc/slices.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sfa/plc/slices.py b/sfa/plc/slices.py index 717a9d2a..88e29c95 100644 --- 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() -- 2.47.0