From 262df18c820210321d5bf42be9e19da08c31218c Mon Sep 17 00:00:00 2001
From: fsaintma <frederic.saint-marcel@inria.fr>
Date: Fri, 18 Dec 2015 13:38:25 +0100
Subject: [PATCH] improve get_reserve_nodes

---
 sfa/iotlab/iotlabshell.py | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/sfa/iotlab/iotlabshell.py b/sfa/iotlab/iotlabshell.py
index c51a7d64..363e4b5e 100644
--- a/sfa/iotlab/iotlabshell.py
+++ b/sfa/iotlab/iotlabshell.py
@@ -138,11 +138,6 @@ class IotLABShell(object):
                            err.reason)
             return {'error': err.reason}
         for exp in experiments['items']:
-            # BUG IN OAR REST API : job with reservation didn't return
-            # resources attribute list. We use another request for
-            # finding job resources
-            exp_nodes = self.api.method('admin/experiments/%d' % exp['id'])
-            exp['resources'] = exp_nodes['nodes']
             # BUG ASAP jobs without date information
             if exp['date'] == "as soon as possible":
                 exp['date'] = 0
-- 
2.47.0