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
Łukasz Nowak
erp5
Commits
90b9a274
Commit
90b9a274
authored
Dec 06, 2011
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Typo.
parent
6cd2e8a1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
product/CMFActivity/ActiveObject.py
product/CMFActivity/ActiveObject.py
+3
-3
No files found.
product/CMFActivity/ActiveObject.py
View file @
90b9a274
...
...
@@ -154,7 +154,7 @@ class ActiveObject(ExtensionClass.Base):
if
path
:
return
self
.
unrestrictedTraverse
(
path
)
def
setDefaultActivateParameteDict
(
self
,
parameter_dict
,
placeless
=
False
):
def
setDefaultActivateParamete
r
Dict
(
self
,
parameter_dict
,
placeless
=
False
):
# This method sets the default keyword parameters to activate. This is
# useful when you need to specify special parameters implicitly (e.g. to
# reindexObject).
...
...
@@ -167,8 +167,8 @@ class ActiveObject(ExtensionClass.Base):
def
setDefaultActivateParameters
(
self
,
placeless
=
False
,
**
kw
):
warnings
.
warn
(
'setDefaultActivateParameters is deprecated in favour of '
'setDefaultActivateParameteDict.'
,
DeprecationWarning
)
self
.
setDefaultActivateParameteDict
(
kw
,
placeless
=
placeless
)
'setDefaultActivateParamete
r
Dict.'
,
DeprecationWarning
)
self
.
setDefaultActivateParamete
r
Dict
(
kw
,
placeless
=
placeless
)
def
getDefaultActivateParameterDict
(
self
,
inherit_placeless
=
True
):
# This method returns default activate parameters to self.
...
...
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