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

Remove trailing whitespace

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