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
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Lu Xu
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
Changes
3
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('"')
...
@@ -6,12 +6,12 @@ new_group_list = new_line.split('"')
if
len
(
new_group_list
)
!=
5
:
if
len
(
new_group_list
)
!=
5
:
return
False
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
!=
'/>'
:
if
before
!=
'<global name='
or
module
!=
' module='
or
erp5_portal_type
!=
'erp5.portal_type'
or
after
!=
'/>'
:
return
False
return
False
old_group_list
=
old_line_list
[
0
].
split
(
'"'
)
old_group_list
=
old_line_list
[
0
].
split
(
'"'
)
if
len
(
old_group_list
)
==
5
:
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
before2
==
before
and
module2
==
module
and
products_erp5type
.
startswith
(
"Products.ERP5Type.Document."
)
and
after2
==
after
return
False
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