for port in self.db_store.get_ports(): if port.get_external_value('is_local'): self.add_local_port(port) else: self.add_remote_port(port)
I have no ports with is_local field
for port in self.db_ store.get_ ports() : external_ value(' is_local' ):
self. add_local_ port(port)
self. add_remote_ port(port)
if port.get_
else:
I have no ports with is_local field