Skip to content

Commit

Permalink
Merge pull request #389 from SpiNNakerManchester/UnusedVariable
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B committed Jan 19, 2024
2 parents 6c58d1d + 224fb70 commit 23de250
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion spinnman/messages/eieio/command_messages/host_data_read.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def get_min_packet_length():
return 8

@staticmethod
def from_bytestring(command_header, data, offset): # @UnusedVariable
def from_bytestring(command_header, data, offset):
n_requests, sequence_no = _PATTERN_BB.unpack_from(data, offset)

offset += 2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def sequence_no(self):
return self._sequence_no

@staticmethod
def from_bytestring(command_header, data, offset): # @UnusedVariable
def from_bytestring(command_header, data, offset):
sequence_no = _PATTERN_B.unpack_from(data, offset)[0]

return HostDataReadAck(sequence_no)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def get_min_packet_length():
return 4

@staticmethod
def from_bytestring(command_header, data, offset): # @UnusedVariable
def from_bytestring(command_header, data, offset):
region_id, sequence_no = _PATTERN_BB.unpack_from(data, offset)
eieio_data_message = read_eieio_data_message(data, offset)
return HostSendSequencedData(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def get_min_packet_length():
return 12

@staticmethod
def from_bytestring(command_header, data, offset): # @UnusedVariable
def from_bytestring(command_header, data, offset):
y, x, processor, region_id, sequence_no, space = \
_PATTERN_BBBxBBI.unpack_from(data, offset)
p = (processor >> 3) & 0x1F
Expand Down
2 changes: 1 addition & 1 deletion spinnman/utilities/locate_connected_machine_ip_address.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def locate_connected_machine(handler: Callable[[str, float], None]):


if __name__ == "__main__":
def _ctrlc_handler(sig, frame): # @UnusedVariable
def _ctrlc_handler(sig, frame):
"""
:param sig:
:param frame:
Expand Down

0 comments on commit 23de250

Please sign in to comment.