Let's pass on AttributeError since we know what's happening there.

This commit is contained in:
James Vega 2004-09-17 17:17:11 +00:00
parent 1dc359a385
commit 57d257078a

View File

@ -83,6 +83,8 @@ try:
def __del__(self): def __del__(self):
try: try:
Connection.__del__(self) Connection.__del__(self)
except AttributeError:
pass
except Exception, e: except Exception, e:
try: try:
log.exception('Uncaught exception in __del__:') log.exception('Uncaught exception in __del__:')