summaryrefslogtreecommitdiff
path: root/tftpy/TftpStates.py
diff options
context:
space:
mode:
Diffstat (limited to 'tftpy/TftpStates.py')
-rw-r--r--tftpy/TftpStates.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tftpy/TftpStates.py b/tftpy/TftpStates.py
index 5817d22..66cc1db 100644
--- a/tftpy/TftpStates.py
+++ b/tftpy/TftpStates.py
@@ -159,7 +159,9 @@ class TftpState(object):
def resendLast(self):
"""Resend the last sent packet due to a timeout."""
- log.warning("Resending packet %s on sessions %s" % (self.context.last_pkt, self))
+ log.warning(
+ "Resending packet %s on sessions %s" % (self.context.last_pkt, self)
+ )
self.context.metrics.resent_bytes += len(self.context.last_pkt.buffer)
self.context.metrics.add_dup(self.context.last_pkt)
sendto_port = self.context.tidport