Mercurial > p > roundup > code
comparison roundup/hyperdb.py @ 618:9431715612ac
Oops, precedences around the way w0rng.
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Fri, 15 Feb 2002 07:27:12 +0000 |
| parents | edd210915e64 |
| children | 952679be9e2c |
comparison
equal
deleted
inserted
replaced
| 617:edd210915e64 | 618:9431715612ac |
|---|---|
| 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.54 2002-02-15 07:08:44 richard Exp $ | 18 # $Id: hyperdb.py,v 1.55 2002-02-15 07:27:12 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 node[k] is None or 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.54 2002/02/15 07:08:44 richard | |
| 1070 # . Alternate email addresses are now available for users. See the MIGRATION | |
| 1071 # file for info on how to activate the feature. | |
| 1072 # | |
| 1069 # Revision 1.53 2002/01/22 07:21:13 richard | 1073 # Revision 1.53 2002/01/22 07:21:13 richard |
| 1070 # . fixed back_bsddb so it passed the journal tests | 1074 # . fixed back_bsddb so it passed the journal tests |
| 1071 # | 1075 # |
| 1072 # ... it didn't seem happy using the back_anydbm _open method, which is odd. | 1076 # ... 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 | 1077 # Yet another occurrance of whichdb not being able to recognise older bsddb |
