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
829d6dbf
Commit
829d6dbf
authored
Apr 22, 2004
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
clean up some logging calls, one of which wasn't converted yet
parent
69c11a53
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
lib/python/Products/PluginIndexes/PathIndex/PathIndex.py
lib/python/Products/PluginIndexes/PathIndex/PathIndex.py
+5
-6
No files found.
lib/python/Products/PluginIndexes/PathIndex/PathIndex.py
View file @
829d6dbf
...
...
@@ -11,7 +11,7 @@
#
##############################################################################
__version__
=
'$Id: PathIndex.py,v 1.4
1 2004/04/20 14:30:44 andreasjung
Exp $'
__version__
=
'$Id: PathIndex.py,v 1.4
2 2004/04/22 03:35:39 fdrake
Exp $'
from
types
import
StringType
,
ListType
,
TupleType
from
logging
import
getLogger
...
...
@@ -125,8 +125,8 @@ class PathIndex(Persistent, SimpleItem):
""" hook for (Z)Catalog """
if
not
self
.
_unindex
.
has_key
(
docid
):
LOG
.
error
(
'Attempt to unindex nonexistent document'
' with id %s'
%
docid
)
LOG
.
error
(
'Attempt to unindex nonexistent document
with id %s
'
%
docid
)
return
comps
=
self
.
_unindex
[
docid
].
split
(
'/'
)
...
...
@@ -143,9 +143,8 @@ class PathIndex(Persistent, SimpleItem):
if
not
self
.
_index
[
comp
]:
del
self
.
_index
[
comp
]
except
KeyError
:
LOG
(
self
.
__class__
.
__name__
,
ERROR
,
'Attempt to unindex document'
' with id %s failed'
%
docid
)
LOG
.
error
(
'Attempt to unindex document with id %s failed'
%
docid
)
self
.
_migrate_length
()
self
.
_length
.
change
(
-
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