summaryrefslogtreecommitdiff
path: root/dns/inet.py
diff options
context:
space:
mode:
authorBob Halley <halley@dnspython.org>2020-06-16 08:10:16 -0700
committerBob Halley <halley@dnspython.org>2020-06-16 08:10:16 -0700
commit18e5a9ba0975c06787240ed77013bc6974279e3e (patch)
tree01552f04313f971f9a1c60f7a16cce600def7ad5 /dns/inet.py
parent7ba07bb2b0ab6cf988be4c2b7cc1f9c9bdb5177c (diff)
downloaddnspython-18e5a9ba0975c06787240ed77013bc6974279e3e.tar.gz
lint
Diffstat (limited to 'dns/inet.py')
-rw-r--r--dns/inet.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/dns/inet.py b/dns/inet.py
index d434948..048a80c 100644
--- a/dns/inet.py
+++ b/dns/inet.py
@@ -163,7 +163,7 @@ def low_level_address_tuple(high_tuple, af=None):
return (address, port, 0, 0)
# try to avoid getaddrinfo()
addrpart = address[:i]
- scope = address[i+1:]
+ scope = address[i + 1:]
if scope.isdigit():
return (addrpart, port, 0, int(scope))
try: