issue #61: fix bare except (reported by LGTM)

This commit is contained in:
David Wilson 2019-01-20 19:35:49 +00:00
parent abfb6e39a8
commit fb750edfa7
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ else:
try: try:
SC_OPEN_MAX = os.sysconf('SC_OPEN_MAX') SC_OPEN_MAX = os.sysconf('SC_OPEN_MAX')
except: except ValueError:
SC_OPEN_MAX = 1024 SC_OPEN_MAX = 1024
OPENPTY_MSG = ( OPENPTY_MSG = (