fixed indentation
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Fri, 20 May 2011 11:40:54 +0000 (13:40 +0200)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Fri, 20 May 2011 11:40:54 +0000 (13:40 +0200)
note that the code after return is unreachable

sfa/managers/aggregate_manager_max.py

index 90c94a6..64ddda9 100644 (file)
@@ -409,7 +409,8 @@ def rspec_to_allocations(rspec):
         # Bad RSpec
         pass
     return ifs
-        (ret, output) = call_am_apiclient("GetResourceTopology", ['all', slice_id,], 5)
+    # xxx - fixme
+    (ret, output) = call_am_apiclient("GetResourceTopology", ['all', slice_id,], 5)
     # parse output into rspec XML
     if output.find("No resouce found") > 0:
         rspec = "<RSpec type=\"SFA\"> <Fault>No resource found</Fault> </RSpec>"