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

issue510
David Wilson 6 years ago
parent abfb6e39a8
commit fb750edfa7

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

Loading…
Cancel
Save