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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Rafael Monnerat
erp5
Commits
0d522ef3
Commit
0d522ef3
authored
May 17, 2021
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
core: check ERP5 scripts coding style tests
Only zope Python Scripts were checked
parent
e33833f7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/BusinessTemplate_getPythonSourceCodeMessageList.py
...5_core/BusinessTemplate_getPythonSourceCodeMessageList.py
+5
-3
No files found.
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/BusinessTemplate_getPythonSourceCodeMessageList.py
View file @
0d522ef3
...
...
@@ -93,9 +93,11 @@ for workflow_id in context.getTemplateWorkflowIdList():
for
script_container
in
script_container_list
:
for
script_path
,
script_instance
in
portal
.
ZopeFind
(
script_container
,
obj_metatypes
=
[
'Script (Python)'
],
search_sub
=
1
):
script_container
,
obj_metatypes
=
[
'Script (Python)'
,
'ERP5 Python Script'
,
'ERP5 Workflow Script'
,
],
search_sub
=
1
):
checkPythonScript
(
script_instance
,
"%s/%s"
%
(
portal
.
portal_url
.
getRelativeUrl
(
script_container
),
script_path
))
...
...
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