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
139
Merge Requests
139
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
d003e6c8
Commit
d003e6c8
authored
Apr 21, 2024
by
Jérome Perrin
Committed by
Arnaud Fontaine
Jul 31, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
base: pylint on py3
parent
ada3ce7a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
3 deletions
+2
-3
bt5/erp5_base/DocumentTemplateItem/portal_components/document.erp5.Coordinate.py
...emplateItem/portal_components/document.erp5.Coordinate.py
+0
-1
bt5/erp5_base/DocumentTemplateItem/portal_components/document.erp5.SimulatedDeliveryBuilder.py
...rtal_components/document.erp5.SimulatedDeliveryBuilder.py
+1
-1
bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Delivery_getODTDataDict.py
...ateItem/portal_skins/erp5_base/Delivery_getODTDataDict.py
+1
-1
No files found.
bt5/erp5_base/DocumentTemplateItem/portal_components/document.erp5.Coordinate.py
View file @
d003e6c8
...
@@ -181,7 +181,6 @@ class Coordinate(Base):
...
@@ -181,7 +181,6 @@ class Coordinate(Base):
"""
"""
Returns the standard text formats for telephone numbers
Returns the standard text formats for telephone numbers
"""
"""
pass
security
.
declareProtected
(
Permissions
.
AccessContentsInformation
,
'isDetailed'
)
security
.
declareProtected
(
Permissions
.
AccessContentsInformation
,
'isDetailed'
)
def
isDetailed
(
self
):
def
isDetailed
(
self
):
...
...
bt5/erp5_base/DocumentTemplateItem/portal_components/document.erp5.SimulatedDeliveryBuilder.py
View file @
d003e6c8
...
@@ -340,7 +340,7 @@ class SimulatedDeliveryBuilder(BuilderMixin):
...
@@ -340,7 +340,7 @@ class SimulatedDeliveryBuilder(BuilderMixin):
'solveDivergence'
)
'solveDivergence'
)
solveDivergence
=
UnrestrictedMethod
(
_solveDivergence
)
solveDivergence
=
UnrestrictedMethod
(
_solveDivergence
)
def
_createDelivery
(
self
,
delivery_module
,
movement_list
,
activate_kw
):
# pylint: disable=super-on-old-class
def
_createDelivery
(
self
,
delivery_module
,
movement_list
,
activate_kw
):
"""
"""
Refer to the docstring in GeneratedDeliveryBuilder.
Refer to the docstring in GeneratedDeliveryBuilder.
Unlike GeneratedDeliveryBuilder, SimulatedDeliveryBuilder needs to respect
Unlike GeneratedDeliveryBuilder, SimulatedDeliveryBuilder needs to respect
...
...
bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Delivery_getODTDataDict.py
View file @
d003e6c8
...
@@ -115,7 +115,7 @@ def unicodeDict(d):
...
@@ -115,7 +115,7 @@ def unicodeDict(d):
return
d
return
d
for
k
,
v
in
six
.
iteritems
(
d
):
for
k
,
v
in
six
.
iteritems
(
d
):
if
isinstance
(
v
,
str
):
if
isinstance
(
v
,
str
):
d
.
update
({
k
:
unicode
(
v
,
'utf8'
)})
d
.
update
({
k
:
unicode
(
v
,
'utf8'
)})
# pylint:disable=undefined-variable
return
d
return
d
...
...
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