Commit 440907c3 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Service component:

- Fix syntax warning
parent 0ac3bc0a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -655,7 +655,7 @@ class ServiceServiceServicerImpl(ServiceServiceServicer):
                        device_uuid = device.device_id.device_uuid.uuid
                        device_names[device_uuid] = device.name

                    if reply_txt is not "":
                    if reply_txt != '':
                        optical_reply = adapt_reply(devices, updated_service, reply_json, context_uuid_x, topology_uuid_x, "")
                        new_connection = optical_reply.connections[0]
                        #for candidate_new_connection in pathcomp_reply.connections:
@@ -739,7 +739,7 @@ class ServiceServiceServicerImpl(ServiceServiceServicer):
                                            device_uuid = device.device_id.device_uuid.uuid
                                            device_names[device_uuid] = device.name

                                        if reply_txt is not "":
                                        if reply_txt != '':
                                            optical_reply = adapt_reply(devices, updated_service, reply_json, context_uuid_x, topology_uuid_x, "")
                                            new_connection = optical_reply.connections[0]
                                            #for candidate_new_connection in pathcomp_reply.connections: