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
6f33860d
Commit
6f33860d
authored
Aug 17, 1999
by
Michel Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
beautificated
parent
cfd505d9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
13 deletions
+2
-13
lib/python/Products/ZCatalog/ZCatalog.py
lib/python/Products/ZCatalog/ZCatalog.py
+2
-13
No files found.
lib/python/Products/ZCatalog/ZCatalog.py
View file @
6f33860d
...
...
@@ -95,7 +95,6 @@ import Products
from
Acquisition
import
Implicit
from
Persistence
import
Persistent
from
Catalog
import
Catalog
,
orify
import
pdb
,
traceback
from
SearchIndex
import
UnIndex
,
UnTextIndex
import
IOBTree
...
...
@@ -196,7 +195,6 @@ class ZCatalog(Folder, FindSupport, Persistent, Implicit):
return
self
.
manage_main
(
self
,
REQUEST
,
manage_tabs_message
=
message
)
def
manage_catalogObject
(
self
,
REQUEST
,
urls
=
None
,
blah
=
None
):
""" index all Zope objects that 'urls' point to """
...
...
@@ -323,7 +321,6 @@ class ZCatalog(Folder, FindSupport, Persistent, Implicit):
return
self
.
manage_catalogIndexes
(
self
,
REQUEST
,
manage_tabs_message
=
message
)
def
catalog_object
(
self
,
obj
,
uid
):
""" wrapper around catalog """
if
not
hasattr
(
self
,
'_v_total'
):
...
...
@@ -411,9 +408,7 @@ class ZCatalog(Folder, FindSupport, Persistent, Implicit):
__call__
=
searchResults
# this stuff is so the find machinery works
## this stuff is so the find machinery works
meta_types
=
()
# Sub-object types that are specific to this object
...
...
@@ -445,9 +440,7 @@ class ZCatalog(Folder, FindSupport, Persistent, Implicit):
roles
.
sort
()
return
roles
# stolen from ZPublisher and modified slightly
## stolen from ZPublisher and modified slightly
def
resolve_url
(
self
,
path
,
REQUEST
):
""" The use of this function is depricated """
...
...
@@ -473,9 +466,6 @@ class ZCatalog(Folder, FindSupport, Persistent, Implicit):
# waaa - traversal may return a "default object"
# like an index_html document, though you really
# wanted to get a Folder back :(
## print path
## print `object`
## print (str(req.PARENTS))
if
hasattr
(
object
,
'id'
):
if
callable
(
object
.
id
):
...
...
@@ -484,7 +474,6 @@ class ZCatalog(Folder, FindSupport, Persistent, Implicit):
elif
hasattr
(
object
,
'__name__'
):
name
=
object
.
__name__
else
:
name
=
''
if
name
!=
os
.
path
.
split
(
path
)[
-
1
]:
result
=
req
.
PARENTS
[
0
]
...
...
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