mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 19:52:54 +01:00
Information gathering.
This commit is contained in:
parent
f527ab0866
commit
b19a2bb051
@ -79,6 +79,15 @@ try:
|
|||||||
return
|
return
|
||||||
else:
|
else:
|
||||||
Connection.commit(self, *args, **kwargs)
|
Connection.commit(self, *args, **kwargs)
|
||||||
|
|
||||||
|
def __del__(self):
|
||||||
|
try:
|
||||||
|
Connection.__del__(self)
|
||||||
|
except Exception, e:
|
||||||
|
try:
|
||||||
|
log.exception('Uncaught exception in __del__:')
|
||||||
|
except:
|
||||||
|
pass
|
||||||
sqlite.Connection = MyConnection
|
sqlite.Connection = MyConnection
|
||||||
#del Connection.__del__
|
#del Connection.__del__
|
||||||
except ImportError:
|
except ImportError:
|
||||||
|
Loading…
Reference in New Issue
Block a user