Commit 70755602 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

fix typos in security declarations.

parent 5272cf47
......@@ -248,7 +248,7 @@ class AppliedRule(XMLObject, ExplainableMixin):
for applied_rule in movement.objectValues():
applied_rule.recursiveImmediateReindexSimulationMovement(**kw)
security.declarePublic('recursiveReindexObject')
security.declarePublic('recursiveReindexSimulationMovement')
def recursiveReindexSimulationMovement(self, activate_kw=None, **kw):
if self.isIndexable:
if activate_kw is None:
......
......@@ -63,7 +63,7 @@ class AcknowledgementTool(BaseTool):
security = ClassSecurityInfo()
security.declarePublic('getUnreadAcknowledgementList')
security.declarePublic('countUnread')
def countUnread(self, *args, **kw):
"""
counts number of acknowledgements pending
......
......@@ -52,7 +52,7 @@ class RoundingTool(BaseTool):
security = ClassSecurityInfo()
security.declarePublic('findRoundingModel')
security.declarePublic('findRoundingModelValueList')
def findRoundingModelValueList(self, document, property_id=None, context=None):
"""
Return a list of matched rounding models for `document` which is ordered
......@@ -111,7 +111,7 @@ class RoundingTool(BaseTool):
target_object = rounding_model.getRoundingProxy(target_object)
return target_object
security.declarePublic('getDecimalRoundingOptionList')
security.declarePublic('getDecimalRoundingOptionItemList')
def getDecimalRoundingOptionItemList(self):
"""
Return the possible decimal rounding option item list which is provided
......
......@@ -502,7 +502,7 @@ class ManageFiles:
factory.addDTMLDocument(form_css_id, "css", form_css_content)
security.declarePublic('importFile')
security.declarePublic('setPDFForm')
def setPDFForm(self,
factory,
skin_folder,
......@@ -1334,7 +1334,7 @@ class ScribusParser:
+ ": using " + str(default_value))
return default_value
security.declarePublic('getXmlObjectPropertiesDict')
security.declarePublic('getXmlObjectsPropertiesDict')
def getXmlObjectsPropertiesDict(self, xml_string):
"""
takes a string containing a whole document and returns
......
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