File tree 4 files changed +8
-8
lines changed
4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -389,7 +389,7 @@ def __del__(self):
389
389
"""Delete the pool."""
390
390
try :
391
391
self .close ()
392
- except Exception :
392
+ except : # builtin Exceptions might not exist any more
393
393
pass
394
394
395
395
def _wait_lock (self ):
@@ -437,7 +437,7 @@ def __del__(self):
437
437
"""Delete the pooled connection."""
438
438
try :
439
439
self .close ()
440
- except Exception :
440
+ except : # builtin Exceptions might not exist any more
441
441
pass
442
442
443
443
@@ -524,5 +524,5 @@ def __del__(self):
524
524
"""Delete the pooled connection."""
525
525
try :
526
526
self .close ()
527
- except Exception :
527
+ except : # builtin Exceptions might not exist any more
528
528
pass
Original file line number Diff line number Diff line change @@ -244,7 +244,7 @@ def __del__(self):
244
244
"""Delete the pool."""
245
245
try :
246
246
self .close ()
247
- except Exception :
247
+ except : # builtin Exceptions might not exist any more
248
248
pass
249
249
250
250
@@ -291,5 +291,5 @@ def __del__(self):
291
291
"""Delete the pooled connection."""
292
292
try :
293
293
self .close ()
294
- except Exception :
294
+ except : # builtin Exceptions might not exist any more
295
295
pass
Original file line number Diff line number Diff line change @@ -512,7 +512,7 @@ def __del__(self):
512
512
"""Delete the steady connection."""
513
513
try :
514
514
self ._close () # make sure the connection is closed
515
- except Exception :
515
+ except : # builtin Exceptions might not exist any more
516
516
pass
517
517
518
518
@@ -697,5 +697,5 @@ def __del__(self):
697
697
"""Delete the steady cursor."""
698
698
try :
699
699
self .close () # make sure the cursor is closed
700
- except Exception :
700
+ except : # builtin Exceptions might not exist any more
701
701
pass
Original file line number Diff line number Diff line change @@ -324,5 +324,5 @@ def __del__(self):
324
324
"""Delete the steady connection."""
325
325
try :
326
326
self ._close () # make sure the connection is closed
327
- except Exception :
327
+ except : # builtin Exceptions might not exist any more
328
328
pass
You can’t perform that action at this time.
0 commit comments