Commit 448bf18f authored by Rafael Monnerat's avatar Rafael Monnerat

Remove trailing whitespace

parent 3a9bece1
......@@ -96,7 +96,7 @@ class TemplateTool (BaseTool):
title = 'Template Tool'
meta_type = 'ERP5 Template Tool'
portal_type = 'Template Tool'
allowed_types = ( 'ERP5 Business Template',)
allowed_types = ('ERP5 Business Template', )
# This stores information on repositories.
repository_dict = {}
......@@ -104,8 +104,8 @@ class TemplateTool (BaseTool):
# Declarative Security
security = ClassSecurityInfo()
security.declareProtected( Permissions.ManagePortal, 'manage_overview' )
manage_overview = DTMLFile( 'explainTemplateTool', _dtmldir )
security.declareProtected(Permissions.ManagePortal, 'manage_overview')
manage_overview = DTMLFile('explainTemplateTool', _dtmldir)
def getInstalledBusinessTemplate(self, title, strict=False, **kw):
"""
......@@ -232,7 +232,7 @@ class TemplateTool (BaseTool):
return "file://%s/" % pathname2url(
os.path.join(getConfiguration().instancehome, 'bt5'))
security.declareProtected( 'Import/Export objects', 'save' )
security.declareProtected('Import/Export objects', 'save')
def save(self, business_template, REQUEST=None, RESPONSE=None):
"""
Save the BusinessTemplate in the servers's filesystem.
......
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