Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Ludovic Kiefer
erp5
Commits
31688f6e
Commit
31688f6e
authored
13 years ago
by
Rafael Monnerat
Browse files
Options
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):
# this looks like a subversion repository, try to check it out
LOG
(
'ERP5'
,
INFO
,
'TemplateTool doing a svn checkout of %s'
%
url
)
return
self
.
_download_svn
(
url
,
bt_id
)
return
self
.
_download_local
(
file_path
,
bt_id
)
finally
:
os
.
remove
(
temppath
)
...
...
@@ -1231,7 +1231,7 @@ class TemplateTool (BaseTool):
return
business_template_url_dict
security
.
declareProtected
(
Permissions
.
ManagePortal
,
'installBusinessTemplatesFromRepositories'
)
'installBusinessTemplatesFromRepositories'
)
def
installBusinessTemplatesFromRepositories
(
self
,
template_list
,
only_newer
=
True
,
update_catalog
=
_MARKER
):
"""Installs template_list from configured repositories by default only newest"""
...
...
This diff is collapsed.
Click to expand it.
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