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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Paul Graydon
erp5
Commits
17a0a275
Commit
17a0a275
authored
Jun 02, 2020
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
TemplateTool: Remove useless parentheses.
parent
3b45cd05
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 @
17a0a275
...
@@ -1450,7 +1450,7 @@ class TemplateTool (BaseTool):
...
@@ -1450,7 +1450,7 @@ class TemplateTool (BaseTool):
if bt.title in keep_bt5_id_set:
if bt.title in keep_bt5_id_set:
continue
continue
append("Uninstall business template %s" % bt.title)
append("Uninstall business template %s" % bt.title)
if not
(dry_run)
:
if not
dry_run
:
# XXX Here is missing parameters to really remove stuff
# XXX Here is missing parameters to really remove stuff
bt.uninstall()
bt.uninstall()
update_bt5_list = self.getRepositoryBusinessTemplateList(
update_bt5_list = self.getRepositoryBusinessTemplateList(
...
@@ -1463,7 +1463,7 @@ class TemplateTool (BaseTool):
...
@@ -1463,7 +1463,7 @@ class TemplateTool (BaseTool):
continue
continue
append("Update %s business template in state %s%s" %
\
append("Update %s business template in state %s%s" %
\
(bt5.title, bt5.version_state, (reinstall and '
(
reinstall
)
') or ''))
(bt5.title, bt5.version_state, (reinstall and '
(
reinstall
)
') or ''))
if not
(dry_run)
:
if not
dry_run
:
bt5_url = "%s/%s" % (bt5.repository, bt5.title)
bt5_url = "%s/%s" % (bt5.repository, bt5.title)
self.updateBusinessTemplateFromUrl(bt5_url, reinstall=reinstall,
self.updateBusinessTemplateFromUrl(bt5_url, reinstall=reinstall,
update_catalog=update_catalog)
update_catalog=update_catalog)
...
...
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