comparison roundup/hyperdb.py @ 617:edd210915e64

Alternate email addresses are now available for users. See the MIGRATION file for info on how to activate the feature.
author Richard Jones <richard@users.sourceforge.net>
date Fri, 15 Feb 2002 07:08:45 +0000
parents e346a9792335
children 9431715612ac
comparison
equal deleted inserted replaced
616:08abec25b2c6 617:edd210915e64
13 # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 13 # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
14 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" 14 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS"
15 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, 15 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
16 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. 16 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
17 # 17 #
18 # $Id: hyperdb.py,v 1.53 2002-01-22 07:21:13 richard Exp $ 18 # $Id: hyperdb.py,v 1.54 2002-02-15 07:08:44 richard Exp $
19 19
20 __doc__ = """ 20 __doc__ = """
21 Hyperdatabase implementation, especially field types. 21 Hyperdatabase implementation, especially field types.
22 """ 22 """
23 23
844 if value not in node[k]: 844 if value not in node[k]:
845 break 845 break
846 else: 846 else:
847 continue 847 continue
848 break 848 break
849 elif t == 2 and not v.search(node[k]): 849 elif t == 2 and node[k] is None or not v.search(node[k]):
850 # RE search 850 # RE search
851 break 851 break
852 elif t == 6 and node[k] != v: 852 elif t == 6 and node[k] != v:
853 # straight value comparison for the other types 853 # straight value comparison for the other types
854 break 854 break
1064 cl.create(name=option[i], order=i) 1064 cl.create(name=option[i], order=i)
1065 return hyperdb.Link(name) 1065 return hyperdb.Link(name)
1066 1066
1067 # 1067 #
1068 # $Log: not supported by cvs2svn $ 1068 # $Log: not supported by cvs2svn $
1069 # Revision 1.53 2002/01/22 07:21:13 richard
1070 # . fixed back_bsddb so it passed the journal tests
1071 #
1072 # ... it didn't seem happy using the back_anydbm _open method, which is odd.
1073 # Yet another occurrance of whichdb not being able to recognise older bsddb
1074 # databases. Yadda yadda. Made the HYPERDBDEBUG stuff more sane in the
1075 # process.
1076 #
1069 # Revision 1.52 2002/01/21 16:33:19 rochecompaan 1077 # Revision 1.52 2002/01/21 16:33:19 rochecompaan
1070 # You can now use the roundup-admin tool to pack the database 1078 # You can now use the roundup-admin tool to pack the database
1071 # 1079 #
1072 # Revision 1.51 2002/01/21 03:01:29 richard 1080 # Revision 1.51 2002/01/21 03:01:29 richard
1073 # brief docco on the do_journal argument 1081 # brief docco on the do_journal argument

Roundup Issue Tracker: http://roundup-tracker.org/