straw-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Straw-commits] address@hidden/straw--mainline--0.22--patch-30


From: juri
Subject: [Straw-commits] address@hidden/straw--mainline--0.22--patch-30
Date: Sat, 17 Jan 2004 19:53:10 +0200

Revision: straw--mainline--0.22--patch-30
Archive: address@hidden
Creator: Juri Pakaste <address@hidden>
Date: Sat Jan 17 19:53:10 EET 2004
Standard-date: 2004-01-17 17:53:10 GMT
Modified-files: src/lib/ItemStore.py
New-patches: address@hidden/straw--mainline--0.22--patch-30
Summary: initialize MyDB instance variables to avoid complaints from __del__
Keywords: 

If something went wrong in MyDB.__init__, you got an AttributeError from
__del__ if _db or _env weren't inserted into the object name space yet. 
So start __init__ by setting them to None.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]