Skip to content

Commit 4ec17c1

Browse files
committed
Remove unused exception var
1 parent adb444e commit 4ec17c1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/subprocess.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2106,7 +2106,7 @@ def _wait_kqueue(self, timeout):
21062106
)
21072107
try:
21082108
events = kq.control([kev], 1, timeout) # wait
2109-
except OSError as err:
2109+
except OSError:
21102110
return False
21112111
if not events:
21122112
raise TimeoutExpired(self.args, timeout)

0 commit comments

Comments
 (0)