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
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Romain Courteaud
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
Show 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):
if bt.title in keep_bt5_id_set:
continue
append("Uninstall business template %s" % bt.title)
if not
(dry_run)
:
if not
dry_run
:
# XXX Here is missing parameters to really remove stuff
bt.uninstall()
update_bt5_list = self.getRepositoryBusinessTemplateList(
...
...
@@ -1463,7 +1463,7 @@ class TemplateTool (BaseTool):
continue
append("Update %s business template in state %s%s" %
\
(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)
self.updateBusinessTemplateFromUrl(bt5_url, reinstall=reinstall,
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