diff options
author | Arnon Yaari <wiggin15@yahoo.com> | 2020-10-06 00:54:19 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-05 23:54:19 +0200 |
commit | d3bb5d4d36ae752beecf9cb1d559c81c9a53a9c0 (patch) | |
tree | 1c94e9b128b204b6b9cb2365bdfa58ce20ea8642 /psutil/_pslinux.py | |
parent | 1626bae30349627e4d0a25ac9fb4cf3a743b94e7 (diff) | |
download | psutil-d3bb5d4d36ae752beecf9cb1d559c81c9a53a9c0.tar.gz |
remove old unused code (#1843)
Co-authored-by: Arnon Yaari <arnony@infinidat.com>
Diffstat (limited to 'psutil/_pslinux.py')
-rw-r--r-- | psutil/_pslinux.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/psutil/_pslinux.py b/psutil/_pslinux.py index 4dc3a0ab..3c9ff281 100644 --- a/psutil/_pslinux.py +++ b/psutil/_pslinux.py @@ -843,10 +843,6 @@ class Connections: else: ip = socket.inet_ntop(family, base64.b16decode(ip)) else: # IPv6 - # old version - let's keep it, just in case... - # ip = ip.decode('hex') - # return socket.inet_ntop(socket.AF_INET6, - # ''.join(ip[i:i+4][::-1] for i in range(0, 16, 4))) ip = base64.b16decode(ip) try: # see: https://github.com/giampaolo/psutil/issues/201 |