mirror of
https://github.com/certbot/certbot.git
synced 2026-06-08 16:22:18 -04:00
psutil>=2.1.0; remove redundant parentheses
This commit is contained in:
parent
daf7c81e5d
commit
e17b9907f8
2 changed files with 2 additions and 2 deletions
|
|
@ -275,7 +275,7 @@ class StandaloneAuthenticator(object):
|
|||
listeners = [conn.pid for conn in psutil.net_connections()
|
||||
if conn.status == 'LISTEN' and
|
||||
conn.type == socket.SOCK_STREAM and
|
||||
(conn.laddr[1] == port)]
|
||||
conn.laddr[1] == port]
|
||||
try:
|
||||
if listeners and listeners[0] is not None:
|
||||
# conn.pid may be None if the current process doesn't have
|
||||
|
|
|
|||
2
setup.py
2
setup.py
|
|
@ -26,7 +26,7 @@ install_requires = [
|
|||
'ConfArgParse',
|
||||
'jsonschema',
|
||||
'mock',
|
||||
'psutil>2.1.0', # net_connections introduced in 2.1.0
|
||||
'psutil>=2.1.0', # net_connections introduced in 2.1.0
|
||||
'pycrypto',
|
||||
'PyOpenSSL',
|
||||
'python-augeas',
|
||||
|
|
|
|||
Loading…
Reference in a new issue