Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Nicolas Wavrant
erp5
Commits
31688f6e
Commit
31688f6e
authored
Jun 21, 2011
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tinny codestyle change
parent
01f06f90
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
product/ERP5/Tool/TemplateTool.py
product/ERP5/Tool/TemplateTool.py
+2
-2
No files found.
product/ERP5/Tool/TemplateTool.py
View file @
31688f6e
...
@@ -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"""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment