Skip to content

Commit bfb60c4

Browse files
author
Richard Jones
committed
Oops, precedences around the way w0rng.
1 parent 6227d82 commit bfb60c4

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

roundup/hyperdb.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1616
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1717
#
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 $
1919

2020
__doc__ = """
2121
Hyperdatabase implementation, especially field types.
@@ -846,7 +846,7 @@ def filter(self, filterspec, sort, group, num_re = re.compile('^\d+$')):
846846
else:
847847
continue
848848
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])):
850850
# RE search
851851
break
852852
elif t == 6 and node[k] != v:
@@ -1066,6 +1066,10 @@ def Choice(name, *options):
10661066

10671067
#
10681068
# $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+
#
10691073
# Revision 1.53 2002/01/22 07:21:13 richard
10701074
# . fixed back_bsddb so it passed the journal tests
10711075
#

0 commit comments

Comments
 (0)