summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Vézina <ml.richard.vezina@gmail.com>2021-10-15 22:14:20 -0400
committerRichard Vézina <ml.richard.vezina@gmail.com>2021-10-15 22:14:20 -0400
commit0df7c9c5ee2cc719fd3c51ca16d2733ffcbabfab (patch)
tree49d5d4a5ce9010a3c29a046467bf4192bcca9660
parentf531b7762b9a9112e7d89610f07c6225dc8c5453 (diff)
downloadtftpy-0df7c9c5ee2cc719fd3c51ca16d2733ffcbabfab.tar.gz
Improve natural english language readability
-rw-r--r--tftpy/TftpServer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tftpy/TftpServer.py b/tftpy/TftpServer.py
index 8ac45ef..679e3ed 100644
--- a/tftpy/TftpServer.py
+++ b/tftpy/TftpServer.py
@@ -155,7 +155,7 @@ class TftpServer(TftpSession):
# which should safely work through NAT.
key = "%s:%s" % (raddress, rport)
- if not key in self.sessions:
+ if key not in self.sessions:
log.debug("Creating new server context for session key = %s" % key)
self.sessions[key] = TftpContextServer(raddress,
rport,