oops
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Fri, 15 Apr 2011 06:30:16 +0000 (08:30 +0200)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Fri, 15 Apr 2011 06:30:16 +0000 (08:30 +0200)
sfa/managers/slice_manager_pl.py

index 8991097..7f0a754 100644 (file)
@@ -394,7 +394,7 @@ def SliverStatus(api, slice_xrn, creds, call_id):
     results = threads.get_results()
 
     # get rid of any void result - e.g. when call_id was hit where by convention we return {}
-    results = [ result in results if result and result['geni_resources']]
+    results = [ result for result in results if result and result['geni_resources']]
 
     # do not try to combine if there's no result
     if not results : return {}