Commit f2684ace authored by Julien Muchembled's avatar Julien Muchembled

style

git-svn-id: https://svn.erp5.org/repos/public/erp5/sandbox/portal_types@29243 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 320d9894
......@@ -50,7 +50,7 @@ class TranslationProviderBase:
security = ClassSecurityInfo()
_translation_form = DTMLFile( 'editToolsTranslation', _dtmldir )
_translation_form = DTMLFile('editToolsTranslation', _dtmldir)
manage_options = ( { 'label' : 'Translation'
, 'action' : 'manage_editTranslationForm'
......@@ -58,8 +58,8 @@ class TranslationProviderBase:
,
)
security.declarePrivate( 'updateInitialPropertyTranslationDomainDict' )
def updateInitialPropertyTranslationDomainDict(self, ):
security.declarePrivate('updateInitialPropertyTranslationDomainDict')
def updateInitialPropertyTranslationDomainDict(self):
"""
Create the initial list of association between property and domain name
"""
......@@ -128,8 +128,8 @@ class TranslationProviderBase:
#
# ZMI methods
#
security.declareProtected( ManagePortal, 'manage_editTranslationForm' )
def manage_editTranslationForm( self, REQUEST, manage_tabs_message=None ):
security.declareProtected(ManagePortal, 'manage_editTranslationForm')
def manage_editTranslationForm(self, REQUEST, manage_tabs_message=None):
""" Show the 'Translation' management tab.
"""
translation_list = []
......@@ -156,8 +156,8 @@ class TranslationProviderBase:
)
security.declareProtected( ManagePortal, 'changeTranslations' )
def changeTranslations( self, properties=None, REQUEST=None ):
security.declareProtected(ManagePortal, 'changeTranslations')
def changeTranslations(self, properties=None, REQUEST=None):
"""
Update our list of translations domain name
"""
......
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