diff options
author | adehad <26027314+adehad@users.noreply.github.com> | 2021-10-23 08:54:44 +0100 |
---|---|---|
committer | adehad <26027314+adehad@users.noreply.github.com> | 2021-10-23 08:54:44 +0100 |
commit | 31c57d478249407c45c655ac33eedb3c5bd7097c (patch) | |
tree | 41eb016dbe80caf63c7e9d1bde99a011560a32c9 /tftpy/TftpClient.py | |
parent | a20ffffaae25cd12b3513a930df2951cac452e4d (diff) | |
download | tftpy-31c57d478249407c45c655ac33eedb3c5bd7097c.tar.gz |
run pyupgrade
Diffstat (limited to 'tftpy/TftpClient.py')
-rw-r--r-- | tftpy/TftpClient.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/tftpy/TftpClient.py b/tftpy/TftpClient.py index 03522d1..852181b 100644 --- a/tftpy/TftpClient.py +++ b/tftpy/TftpClient.py @@ -1,5 +1,4 @@ # vim: ts=4 sw=4 et ai: -# -*- coding: utf8 -*- """This module implements the TFTP Client functionality. Instantiate an instance of the client, and then use its upload or download method. Logging is performed via a standard logging object set in TftpShared.""" @@ -57,9 +56,7 @@ class TftpClient(TftpSession): Note: If output is a hyphen, stdout is used.""" # We're downloading. log.debug("Creating download context with the following params:") - log.debug( - "host = %s, port = %s, filename = %s" % (self.host, self.iport, filename) - ) + log.debug(f"host = {self.host}, port = {self.iport}, filename = {filename}") log.debug( "options = %s, packethook = %s, timeout = %s" % (self.options, packethook, timeout) |