Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
2a82ac80
Commit
2a82ac80
authored
Aug 15, 2000
by
Chris McDonough
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed bad errorlogging.
parent
c31fa77f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
lib/python/SearchIndex/UnIndex.py
lib/python/SearchIndex/UnIndex.py
+9
-5
No files found.
lib/python/SearchIndex/UnIndex.py
View file @
2a82ac80
...
...
@@ -84,7 +84,7 @@
##############################################################################
"""Simple column indices"""
__version__
=
'$Revision: 1.1
3
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.1
4
$'
[
11
:
-
2
]
from
Globals
import
Persistent
from
Acquisition
import
Implicit
...
...
@@ -200,14 +200,18 @@ class UnIndex(Persistent, Implicit):
return
None
set
=
index
.
get
(
k
,
None
)
if
set
is
not
None
:
LOG
(
'UnIndex'
,
ERROR
,
(
'unindex_object tried to retrieve set %s'
'from index %s but couldn
\
'
t. This '
'should not happen.'
%
(
repr
(
set
),
str
(
k
))))
try
:
set
.
remove
(
i
)
except
:
LOG
(
'UnIndex'
,
ERROR
,
(
'unindex_object could not remove '
'integer id %s from index.'
%
str
(
k
)))
'integer id %s from index %s. This '
'should not happen.'
%
(
str
(
i
),
str
(
k
))))
else
:
LOG
(
'UnIndex'
,
ERROR
,
(
'unindex_object tried to retrieve set %s '
'from index %s but couldn
\
'
t. This '
'should not happen.'
%
(
repr
(
set
),
str
(
k
))))
del
unindex
[
i
]
self
.
_index
=
index
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment