Skip to content

Commit ce87313

Browse files
committed
Revert "Indent future in transaction."
This reverts commit 5651409.
1 parent 5651409 commit ce87313

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymodbus/transaction/transaction.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ async def execute(self, no_response_expected: bool, request: ModbusPDU) -> Modbu
145145
return response
146146
except asyncio.exceptions.TimeoutError:
147147
count_retries += 1
148-
self.response_future = asyncio.Future()
148+
self.response_future = asyncio.Future()
149149
if self.count_no_responses >= self.accept_no_response_limit:
150150
self.connection_lost(asyncio.TimeoutError("Server not responding"))
151151
raise ModbusIOException(

0 commit comments

Comments
 (0)