blind review on list-operations added by 2to3:
[nepi.git] / src / nepi / util / sfaapi.py
index 345e9f1..2f81c10 100644 (file)
@@ -303,6 +303,7 @@ class SFAAPI(object):
         slice_res = self.get_slice_resources(slicename)['resource']
         if slice_res:
             if len(slice_res[0]['services']) != 0:
+                # 2to3 added list() and it is useful
                 slice_res_hrn = list(self.get_resources_hrn(slice_res).values())
                 if self._compare_lists(slice_res_hrn, resources_hrn):
                     return True