Skip to content

Commit 1a8c938

Browse files
author
Richard Jones
committed
Handling of unset Link search in RDBMS backend
1 parent 6e24773 commit 1a8c938

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

CHANGES.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
This file contains the changes to the Roundup system over time. The entries
22
are given with the most recent entry first.
33

4+
2007-??-??
5+
Fixed:
6+
- Handling of unset Link search in RDBMS backend
7+
8+
49
2007-02-15 1.3.3
510
Fixed:
611
- If-Modified-Since handling was broken

roundup/backends/rdbms_common.py

Lines changed: 2 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: rdbms_common.py,v 1.182 2006-10-04 01:12:00 richard Exp $
18+
#$Id: rdbms_common.py,v 1.183 2007-02-20 05:30:17 richard Exp $
1919
''' Relational database (SQL) backend common code.
2020
2121
Basics:
@@ -2175,7 +2175,7 @@ def filter(self, search_matches, filterspec, sort=[], group=[]):
21752175
d[entry] = entry
21762176
l = []
21772177
if d.has_key(None) or not d:
2178-
del d[None]
2178+
if d.has_key(None): del d[None]
21792179
l.append('_%s._%s is NULL'%(pln, k))
21802180
if d:
21812181
v = d.keys()

0 commit comments

Comments
 (0)