Skip to content

Commit

Permalink
assert not needed as guaranteed by typing
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B committed Nov 13, 2024
1 parent 4c13b1c commit aa6c69f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion spinnman/transceiver/base_transceiver.py
Original file line number Diff line number Diff line change
Expand Up @@ -1146,7 +1146,6 @@ def set_ip_tag(self, ip_tag: IPTag, use_sender: bool = False):
for connection in connections:
# Convert the host string
host_string = ip_tag.ip_address
assert host_string is not None
if host_string in ("localhost", ".", "0.0.0.0"):
host_string = connection.local_ip_address
ip_string = socket.gethostbyname(host_string)
Expand Down

0 comments on commit aa6c69f

Please sign in to comment.