>> >> def __del__(self): >> # Unlock database >> - if hasattr(self, "lockfd"): >> - DITrack.Util.Locking.unlock(self.lockfd) >> + if self.lock: >> + DITrack.Util.Locking.unlock(self.lock) >> > > Why do we need to explicitly remove the lock? I think it should be > released once the lock object is gone. fixed in r1661