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
36e3f3b5
Commit
36e3f3b5
authored
Aug 16, 2005
by
Andreas Jung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Catalog.clear(): fixed handling of _length attribute (caused import
problems for some .zexp files e.g. Squishdot instances)
parent
f2d96baa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
doc/CHANGES.txt
doc/CHANGES.txt
+3
-0
lib/python/Products/ZCatalog/Catalog.py
lib/python/Products/ZCatalog/Catalog.py
+1
-2
No files found.
doc/CHANGES.txt
View file @
36e3f3b5
...
...
@@ -26,6 +26,9 @@ Zope Changes
Bugs Fixed
- Catalog.clear(): fixed handling of _length attribute (caused import
problems for some .zexp files e.g. Squishdot instances)
Zope 2.8.1 (2005/08/11)
Features added
...
...
lib/python/Products/ZCatalog/Catalog.py
View file @
36e3f3b5
...
...
@@ -78,7 +78,6 @@ class Catalog(Persistent, Acquisition.Implicit, ExtensionClass.Base):
# object unique identifier to the rid, and self.paths is a
# mapping of the rid to the unique identifier.
self
.
_length
=
BTrees
.
Length
.
Length
()
self
.
clear
()
if
brains
is
not
None
:
...
...
@@ -103,7 +102,7 @@ class Catalog(Persistent, Acquisition.Implicit, ExtensionClass.Base):
self
.
data
=
IOBTree
()
# mapping of rid to meta_data
self
.
uids
=
OIBTree
()
# mapping of uid to rid
self
.
paths
=
IOBTree
()
# mapping of rid to uid
self
.
_length
.
set
(
0
)
self
.
_length
=
BTrees
.
Length
.
Length
(
)
for
index
in
self
.
indexes
.
keys
():
self
.
getIndex
(
index
).
clear
()
...
...
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