1
0
mirror of https://github.com/certbot/certbot.git synced 2026-01-23 07:20:55 +03:00

psutil>=2.1.0; remove redundant parentheses

This commit is contained in:
Seth Schoen
2015-02-20 14:37:23 -08:00
parent daf7c81e5d
commit e17b9907f8
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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',