Commit 5cf81f73 authored by Jérome Perrin's avatar Jérome Perrin

getBuildingState and getInstallationState can recieve a default as first positional argument


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10380 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6f873d86
......@@ -4170,7 +4170,7 @@ Business Template is a set of definitions, such as skins, portal types and categ
security.declareProtected(Permissions.AccessContentsInformation,
'getBuildingState')
def getBuildingState(self, id_only=1):
def getBuildingState(self, default=None, id_only=1):
"""
Returns the current state in building
"""
......@@ -4181,7 +4181,7 @@ Business Template is a set of definitions, such as skins, portal types and categ
security.declareProtected(Permissions.AccessContentsInformation,
'getInstallationState')
def getInstallationState(self, id_only=1):
def getInstallationState(self, default=None, id_only=1):
"""
Returns the current state in installation
"""
......
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