Skip to content

Commit 79bb5ab

Browse files
author
A. Jesse Jiryu Davis
committed
Remove unused ThreadIdent.get() call PYTHON-509
1 parent 9a2fe49 commit 79bb5ab

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

pymongo/pool.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,8 +324,6 @@ def in_request(self):
324324
return bool(self._request_counter.get())
325325

326326
def end_request(self):
327-
tid = self._ident.get()
328-
329327
# Check if start_request has ever been called in this thread / greenlet
330328
count = self._request_counter.get()
331329
if count:

0 commit comments

Comments
 (0)