Commit 4196270
committed
Make anydbm indexer handle missing items the same as rdbms backend
The anydbm Class::index() method was capturing the IndexError rather
than letting it bubble up. This is different from the rdbms backends.
In implementing batch/incremental indexing via roundup-admin, I wanted
to report any missing items that were specified in the batch. This
worked by capturing the IndexError. It worked with rdbms backends but
not anydbm. This change makes it work with anydbm as well.
Focused testing doesn't show any regressions, so committing the
change.1 parent 1e9c8df commit 4196270
1 file changed
+2
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2070 | 2070 | | |
2071 | 2071 | | |
2072 | 2072 | | |
2073 | | - | |
2074 | | - | |
2075 | | - | |
2076 | | - | |
2077 | | - | |
2078 | | - | |
| 2073 | + | |
| 2074 | + | |
2079 | 2075 | | |
2080 | 2076 | | |
2081 | 2077 | | |
| |||
0 commit comments