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
141
Merge Requests
141
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
Jobs
Commits
Open sidebar
nexedi
erp5
Commits
b1f36ffd
Commit
b1f36ffd
authored
May 24, 2021
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
core: fix pylint warnings
these ERP5 Python Scripts were not covered by coding style tests
parent
3304fe9b
Pipeline
#15618
failed with stage
in 0 seconds
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/TemplateTool_filterClassTupleDiff.py
...rtal_skins/erp5_core/TemplateTool_filterClassTupleDiff.py
+1
-1
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/TemplateTool_filterOOBTreeClassDiff.py
...al_skins/erp5_core/TemplateTool_filterOOBTreeClassDiff.py
+1
-1
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/TemplateTool_filterPortalTypeClassDiff.py
...skins/erp5_core/TemplateTool_filterPortalTypeClassDiff.py
+2
-2
No files found.
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/TemplateTool_filterClassTupleDiff.py
View file @
b1f36ffd
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/TemplateTool_filterOOBTreeClassDiff.py
View file @
b1f36ffd
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/TemplateTool_filterPortalTypeClassDiff.py
View file @
b1f36ffd
...
...
@@ -6,12 +6,12 @@ new_group_list = new_line.split('"')
if
len
(
new_group_list
)
!=
5
:
return
False
before
,
portal_type
,
module
,
erp5_portal_type
,
after
=
new_group_list
before
,
_
,
module
,
erp5_portal_type
,
after
=
new_group_list
if
before
!=
'<global name='
or
module
!=
' module='
or
erp5_portal_type
!=
'erp5.portal_type'
or
after
!=
'/>'
:
return
False
old_group_list
=
old_line_list
[
0
].
split
(
'"'
)
if
len
(
old_group_list
)
==
5
:
before2
,
ignore
,
module2
,
products_erp5type
,
after2
=
old_group_list
before2
,
_
,
module2
,
products_erp5type
,
after2
=
old_group_list
return
before2
==
before
and
module2
==
module
and
products_erp5type
.
startswith
(
"Products.ERP5Type.Document."
)
and
after2
==
after
return
False
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