Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
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
Eteri
erp5
Commits
c7fe0897
Commit
c7fe0897
authored
May 09, 2012
by
Aurel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
using {} is faster than dict()
parent
078c4aad
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
product/ERP5Catalog/CatalogTool.py
product/ERP5Catalog/CatalogTool.py
+1
-1
No files found.
product/ERP5Catalog/CatalogTool.py
View file @
c7fe0897
...
@@ -673,7 +673,7 @@ class CatalogTool (UniqueObject, ZCatalog, CMFCoreCatalogTool, ActiveObject):
...
@@ -673,7 +673,7 @@ class CatalogTool (UniqueObject, ZCatalog, CMFCoreCatalogTool, ActiveObject):
if
predicate_property_dict
is
not
None
:
if
predicate_property_dict
is
not
None
:
w
.
predicate_property_dict
=
predicate_property_dict
w
.
predicate_property_dict
=
predicate_property_dict
else
:
else
:
w
.
predicate_property_dict
=
dict
()
w
.
predicate_property_dict
=
{}
w
.
security_uid
=
security_uid
w
.
security_uid
=
security_uid
(
subject_set_uid
,
optimised_subject_list
)
=
catalog
.
getSubjectSetUid
(
document_w
)
(
subject_set_uid
,
optimised_subject_list
)
=
catalog
.
getSubjectSetUid
(
document_w
)
w
.
optimised_subject_list
=
optimised_subject_list
w
.
optimised_subject_list
=
optimised_subject_list
...
...
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