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
Klaus Wölfel
erp5
Commits
7c6c1aa9
Commit
7c6c1aa9
authored
Feb 02, 2022
by
Cédric Le Ninivin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_api_style: fix coding style
parent
2b8f5fba
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
6 deletions
+3
-6
bt5/erp5_api_style/DocumentTemplateItem/portal_components/document.erp5.jIOWebSection.py
...lateItem/portal_components/document.erp5.jIOWebSection.py
+2
-2
bt5/erp5_api_style/DocumentTemplateItem/portal_components/document.erp5.jIOWebSection.xml
...ateItem/portal_components/document.erp5.jIOWebSection.xml
+1
-4
No files found.
bt5/erp5_api_style/DocumentTemplateItem/portal_components/document.erp5.jIOWebSection.py
View file @
7c6c1aa9
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
##############################################################################
##############################################################################
from
AccessControl
import
ClassSecurityInfo
from
AccessControl
import
ClassSecurityInfo
from
Acquisition
import
aq_
base
,
aq_
inner
from
Acquisition
import
aq_inner
from
erp5.component.document.WebSection
import
WebSection
from
erp5.component.document.WebSection
import
WebSection
from
Products.ERP5Type
import
Permissions
from
Products.ERP5Type
import
Permissions
...
@@ -58,7 +58,7 @@ class jIOWebSection(WebSection):
...
@@ -58,7 +58,7 @@ class jIOWebSection(WebSection):
return
default
return
default
security
.
declareProtected
(
Permissions
.
View
,
'get'
)
security
.
declareProtected
(
Permissions
.
View
,
'get'
)
def
get
(
self
):
def
get
(
self
):
#pylint:disable=arguments-differ
"""
"""
Taken from WebSection Bobo Traverse, the difference is that
Taken from WebSection Bobo Traverse, the difference is that
__bobo_traverse__ from DocumentExtensibleTraversableMixin is not called
__bobo_traverse__ from DocumentExtensibleTraversableMixin is not called
...
...
bt5/erp5_api_style/DocumentTemplateItem/portal_components/document.erp5.jIOWebSection.xml
View file @
7c6c1aa9
...
@@ -51,10 +51,7 @@
...
@@ -51,10 +51,7 @@
<item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<value>
<tuple>
<tuple/>
<string>
W: 61, 2: Arguments number differs from overridden \'get\' method (arguments-differ)
</string>
<string>
W: 31, 0: Unused aq_base imported from Acquisition (unused-import)
</string>
</tuple>
</value>
</value>
</item>
</item>
<item>
<item>
...
...
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