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
be790b50
Commit
be790b50
authored
Jan 19, 2003
by
Andreas Jung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
forgotten to remove cDocumentTemplate import
parent
154817ed
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
lib/python/Products/ZCatalog/Catalog.py
lib/python/Products/ZCatalog/Catalog.py
+1
-2
No files found.
lib/python/Products/ZCatalog/Catalog.py
View file @
be790b50
...
...
@@ -22,7 +22,6 @@ from zLOG import LOG, ERROR
from
Lazy
import
LazyMap
,
LazyFilter
,
LazyCat
,
LazyValues
from
CatalogBrains
import
AbstractCatalogBrain
,
NoBrainer
from
DocumentTemplate
import
cDocumentTemplate
from
BTrees.IIBTree
import
intersection
,
weightedIntersection
,
IISet
from
BTrees.OIBTree
import
OIBTree
from
BTrees.IOBTree
import
IOBTree
...
...
@@ -419,7 +418,7 @@ class Catalog(Persistent, Acquisition.Implicit, ExtensionClass.Base):
# the unique id is allways the first element
for
x
in
self
.
names
:
attr
=
getattr
(
object
,
x
,
MV
)
if
(
attr
is
not
MV
and
cDocumentTemplate
.
safe_callable
(
attr
)):
attr
=
attr
()
if
(
attr
is
not
MV
and
safe_callable
(
attr
)):
attr
=
attr
()
record
.
append
(
attr
)
return
tuple
(
record
)
...
...
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