File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 1515# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1616# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1717#
18- #$Id: back_anydbm.py,v 1.146.2.15 2004-07-20 23:27:02 richard Exp $
18+ #$Id: back_anydbm.py,v 1.146.2.16 2004-07-21 00:51:49 richard Exp $
1919'''This module defines a backend that saves the hyperdatabase in a
2020database chosen by anydbm. It is guaranteed to always be available in python
2121versions >2.1.1 (the dumbdbm fallback in 2.1.1 and earlier has several
@@ -1430,6 +1430,8 @@ def lookup(self, keyvalue):
14301430 node = self .db .getnode (self .classname , nodeid , cldb )
14311431 if node .has_key (self .db .RETIRED_FLAG ):
14321432 continue
1433+ if not node .has_key (self .key ):
1434+ continue
14331435 if node [self .key ] == keyvalue :
14341436 return nodeid
14351437 finally :
You can’t perform that action at this time.
0 commit comments