Commit 31688f6e authored by Rafael Monnerat's avatar Rafael Monnerat

Tinny codestyle change

parent 01f06f90
...@@ -436,7 +436,7 @@ class TemplateTool (BaseTool): ...@@ -436,7 +436,7 @@ class TemplateTool (BaseTool):
# this looks like a subversion repository, try to check it out # this looks like a subversion repository, try to check it out
LOG('ERP5', INFO, 'TemplateTool doing a svn checkout of %s' % url) LOG('ERP5', INFO, 'TemplateTool doing a svn checkout of %s' % url)
return self._download_svn(url, bt_id) return self._download_svn(url, bt_id)
return self._download_local(file_path, bt_id) return self._download_local(file_path, bt_id)
finally: finally:
os.remove(temppath) os.remove(temppath)
...@@ -1231,7 +1231,7 @@ class TemplateTool (BaseTool): ...@@ -1231,7 +1231,7 @@ class TemplateTool (BaseTool):
return business_template_url_dict return business_template_url_dict
security.declareProtected(Permissions.ManagePortal, security.declareProtected(Permissions.ManagePortal,
'installBusinessTemplatesFromRepositories' ) 'installBusinessTemplatesFromRepositories')
def installBusinessTemplatesFromRepositories(self, template_list, def installBusinessTemplatesFromRepositories(self, template_list,
only_newer=True, update_catalog=_MARKER): only_newer=True, update_catalog=_MARKER):
"""Installs template_list from configured repositories by default only newest""" """Installs template_list from configured repositories by default only newest"""
......
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