From: Mark Huang Date: Wed, 29 Nov 2006 03:44:36 +0000 (+0000) Subject: - fix probable checkin of debug code X-Git-Tag: pycurl-7_13_1~232 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=f1dff45a95e6323595b05cbd97899734cd2991d6;p=plcapi.git - fix probable checkin of debug code --- diff --git a/PLC/Methods/GetSlivers.py b/PLC/Methods/GetSlivers.py index 46e13d3..ce8ea68 100644 --- a/PLC/Methods/GetSlivers.py +++ b/PLC/Methods/GetSlivers.py @@ -65,7 +65,7 @@ class GetSlivers(Method): object_type = 'Sliver' def call(self, auth, node_filter = None): - timestamp = int(time.time()) + timestamp = int(time.time()) if node_filter is None and isinstance(self.caller, Node): all_nodes = {self.caller['node_id']: self.caller} @@ -83,7 +83,7 @@ class GetSlivers(Method): for node_id, node in all_nodes.iteritems(): all_nodenetwork_ids.update(node['nodenetwork_ids']) all_nodegroup_ids.update(node['nodegroup_ids']) - #all_slice_ids.update(node['slice_ids']) + all_slice_ids.update(node['slice_ids']) # Get nodenetwork information all_nodenetworks = NodeNetworks(self.api, all_nodenetwork_ids).dict()