Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffLIrion committed Oct 19, 2023
1 parent 59f9110 commit af06aad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion adb_shell/adb_device.py
Expand Up @@ -1590,7 +1590,7 @@ def _filesync_send(self, command_id, adb_info, filesync_info, data=b"", size=Non
self._filesync_flush(adb_info, filesync_info)

buf = struct.pack(b"<2I", constants.FILESYNC_ID_TO_WIRE[command_id], size) + data
filesync_info.send_buffer[filesync_info.send_idx : filesync_info.send_idx + len(buf)] = buf
filesync_info.send_buffer[filesync_info.send_idx : filesync_info.send_idx + len(buf)] = buf # noqa
filesync_info.send_idx += len(buf)


Expand Down
2 changes: 1 addition & 1 deletion adb_shell/adb_device_async.py
Expand Up @@ -1650,7 +1650,7 @@ async def _filesync_send(self, command_id, adb_info, filesync_info, data=b"", si
await self._filesync_flush(adb_info, filesync_info)

buf = struct.pack(b"<2I", constants.FILESYNC_ID_TO_WIRE[command_id], size) + data
filesync_info.send_buffer[filesync_info.send_idx : filesync_info.send_idx + len(buf)] = buf
filesync_info.send_buffer[filesync_info.send_idx : filesync_info.send_idx + len(buf)] = buf # noqa
filesync_info.send_idx += len(buf)


Expand Down

0 comments on commit af06aad

Please sign in to comment.