mirror of
https://github.com/certbot/certbot.git
synced 2026-08-02 00:22:28 +02:00
psutil>=2.1.0; remove redundant parentheses
This commit is contained in:
@@ -275,7 +275,7 @@ class StandaloneAuthenticator(object):
|
|||||||
listeners = [conn.pid for conn in psutil.net_connections()
|
listeners = [conn.pid for conn in psutil.net_connections()
|
||||||
if conn.status == 'LISTEN' and
|
if conn.status == 'LISTEN' and
|
||||||
conn.type == socket.SOCK_STREAM and
|
conn.type == socket.SOCK_STREAM and
|
||||||
(conn.laddr[1] == port)]
|
conn.laddr[1] == port]
|
||||||
try:
|
try:
|
||||||
if listeners and listeners[0] is not None:
|
if listeners and listeners[0] is not None:
|
||||||
# conn.pid may be None if the current process doesn't have
|
# conn.pid may be None if the current process doesn't have
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ install_requires = [
|
|||||||
'ConfArgParse',
|
'ConfArgParse',
|
||||||
'jsonschema',
|
'jsonschema',
|
||||||
'mock',
|
'mock',
|
||||||
'psutil>2.1.0', # net_connections introduced in 2.1.0
|
'psutil>=2.1.0', # net_connections introduced in 2.1.0
|
||||||
'pycrypto',
|
'pycrypto',
|
||||||
'PyOpenSSL',
|
'PyOpenSSL',
|
||||||
'python-augeas',
|
'python-augeas',
|
||||||
|
|||||||
Reference in New Issue
Block a user