Commit 27ee43e7 authored by Vincent Pelletier's avatar Vincent Pelletier

Fix typos (only impacting code readability).


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23494 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 296a1980
...@@ -195,11 +195,11 @@ class ActiveObject(ExtensionClass.Base): ...@@ -195,11 +195,11 @@ class ActiveObject(ExtensionClass.Base):
tv[key] = kw tv[key] = kw
security.declareProtected( permissions.View, 'getDefaultActivateParameterDict' ) security.declareProtected( permissions.View, 'getDefaultActivateParameterDict' )
def getDefaultActivateParameterDict(self, inherit_placess=True): def getDefaultActivateParameterDict(self, inherit_placeless=True):
# This method returns default activate parameters to self. # This method returns default activate parameters to self.
# The result can be either a dict object or None. # The result can be either a dict object or None.
tv = getTransactionalVariable(self) tv = getTransactionalVariable(self)
if inherit_placess: if inherit_placeless:
placeless = tv.get(('default_activate_parameter', )) placeless = tv.get(('default_activate_parameter', ))
if placeless is not None: if placeless is not None:
placeless = placeless.copy() placeless = placeless.copy()
......
...@@ -3577,11 +3577,11 @@ class Base( CopyContainer, ...@@ -3577,11 +3577,11 @@ class Base( CopyContainer,
tv[key] = kw tv[key] = kw
security.declareProtected(Permissions.View, 'getDefaultReindexParameterDict' ) security.declareProtected(Permissions.View, 'getDefaultReindexParameterDict' )
def getDefaultReindexParameterDict(self, inherit_placess=True): def getDefaultReindexParameterDict(self, inherit_placeless=True):
# This method returns default reindex parameters to self. # This method returns default reindex parameters to self.
# The result can be either a dict object or None. # The result can be either a dict object or None.
tv = getTransactionalVariable(self) tv = getTransactionalVariable(self)
if inherit_placess: if inherit_placeless:
placeless = tv.get(('default_reindex_parameter', )) placeless = tv.get(('default_reindex_parameter', ))
if placeless is not None: if placeless is not None:
placeless = placeless.copy() placeless = placeless.copy()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment