[ditrack commit] r1635 - in src/trunk/DITrack: DB Util

Ivan Glushkov gli.work at gmail.com
Sun Jun 17 08:04:36 PDT 2007


>>
>>      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


More information about the Dev mailing list