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
552c6d3e
Commit
552c6d3e
authored
May 15, 2006
by
Chris Withers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quieten more down.
parent
0330ca7b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
lib/python/Products/PluginIndexes/KeywordIndex/KeywordIndex.py
...ython/Products/PluginIndexes/KeywordIndex/KeywordIndex.py
+1
-1
lib/python/Products/PluginIndexes/PathIndex/PathIndex.py
lib/python/Products/PluginIndexes/PathIndex/PathIndex.py
+2
-2
lib/python/Products/PluginIndexes/TopicIndex/TopicIndex.py
lib/python/Products/PluginIndexes/TopicIndex/TopicIndex.py
+1
-1
No files found.
lib/python/Products/PluginIndexes/KeywordIndex/KeywordIndex.py
View file @
552c6d3e
...
@@ -127,7 +127,7 @@ class KeywordIndex(UnIndex):
...
@@ -127,7 +127,7 @@ class KeywordIndex(UnIndex):
try
:
try
:
del
self
.
_unindex
[
documentId
]
del
self
.
_unindex
[
documentId
]
except
KeyError
:
except
KeyError
:
LOG
.
error
(
'Attempt to unindex nonexistent'
LOG
.
debug
(
'Attempt to unindex nonexistent'
' document id %s'
%
documentId
)
' document id %s'
%
documentId
)
manage
=
manage_main
=
DTMLFile
(
'dtml/manageKeywordIndex'
,
globals
())
manage
=
manage_main
=
DTMLFile
(
'dtml/manageKeywordIndex'
,
globals
())
...
...
lib/python/Products/PluginIndexes/PathIndex/PathIndex.py
View file @
552c6d3e
...
@@ -132,7 +132,7 @@ class PathIndex(Persistent, SimpleItem):
...
@@ -132,7 +132,7 @@ class PathIndex(Persistent, SimpleItem):
""" hook for (Z)Catalog """
""" hook for (Z)Catalog """
if
not
self
.
_unindex
.
has_key
(
docid
):
if
not
self
.
_unindex
.
has_key
(
docid
):
LOG
.
error
(
'Attempt to unindex nonexistent document with id %s'
LOG
.
debug
(
'Attempt to unindex nonexistent document with id %s'
%
docid
)
%
docid
)
return
return
...
@@ -150,7 +150,7 @@ class PathIndex(Persistent, SimpleItem):
...
@@ -150,7 +150,7 @@ class PathIndex(Persistent, SimpleItem):
if
not
self
.
_index
[
comp
]:
if
not
self
.
_index
[
comp
]:
del
self
.
_index
[
comp
]
del
self
.
_index
[
comp
]
except
KeyError
:
except
KeyError
:
LOG
.
error
(
'Attempt to unindex document with id %s failed'
LOG
.
debug
(
'Attempt to unindex document with id %s failed'
%
docid
)
%
docid
)
self
.
_length
.
change
(
-
1
)
self
.
_length
.
change
(
-
1
)
...
...
lib/python/Products/PluginIndexes/TopicIndex/TopicIndex.py
View file @
552c6d3e
...
@@ -80,7 +80,7 @@ class TopicIndex(Persistent, SimpleItem):
...
@@ -80,7 +80,7 @@ class TopicIndex(Persistent, SimpleItem):
try
:
try
:
fs
.
unindex_object
(
docid
)
fs
.
unindex_object
(
docid
)
except
KeyError
:
except
KeyError
:
LOG
.
error
(
'Attempt to unindex document'
LOG
.
debug
(
'Attempt to unindex document'
' with id %s failed'
%
docid
)
' with id %s failed'
%
docid
)
return
1
return
1
...
...
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