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
Carlos Ramos Carreño
erp5
Commits
e9199860
Commit
e9199860
authored
Apr 21, 2024
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
forge: pylint on py3
parent
56cd12f8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
+5
-2
bt5/erp5_forge/ModuleComponentTemplateItem/portal_components/module.erp5.WorkingCopy.py
...TemplateItem/portal_components/module.erp5.WorkingCopy.py
+1
-1
bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_toolbox/BusinessTemplate_renameProxyField.py
...l_skins/erp5_toolbox/BusinessTemplate_renameProxyField.py
+1
-1
bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_vcs/BusinessTemplate_handleException.py
...portal_skins/erp5_vcs/BusinessTemplate_handleException.py
+3
-0
No files found.
bt5/erp5_forge/ModuleComponentTemplateItem/portal_components/module.erp5.WorkingCopy.py
View file @
e9199860
...
@@ -217,7 +217,7 @@ class WorkingCopy(six.with_metaclass(WorkingCopyMetaClass, Implicit)):
...
@@ -217,7 +217,7 @@ class WorkingCopy(six.with_metaclass(WorkingCopyMetaClass, Implicit)):
hasDiff
=
lambda
path
:
bool
(
getFilteredDiff
(
diff
(
path
)))
hasDiff
=
lambda
path
:
bool
(
getFilteredDiff
(
diff
(
path
)))
else
:
else
:
hasDiff
=
lambda
path
:
True
hasDiff
=
lambda
path
:
True
self
.
__hasDiff
=
hasDiff
self
.
__hasDiff
=
hasDiff
# pylint:disable=unused-private-member
return
hasDiff
(
path
)
return
hasDiff
(
path
)
def
treeToXML
(
self
,
item
)
:
def
treeToXML
(
self
,
item
)
:
...
...
bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_toolbox/BusinessTemplate_renameProxyField.py
View file @
e9199860
...
@@ -67,7 +67,7 @@ def iterate(document, skin_path):
...
@@ -67,7 +67,7 @@ def iterate(document, skin_path):
sub_object
.
proxifyField
(
field_dict
=
proxify_dict
)
sub_object
.
proxifyField
(
field_dict
=
proxify_dict
)
if
sub_object
.
meta_type
==
"Folder"
:
if
sub_object
.
meta_type
==
"Folder"
:
skin_path
=
"%s/%s"
%
(
skin_path
,
x
.
getId
())
skin_path
=
"%s/%s"
%
(
skin_path
,
sub_object
.
getId
())
iterate
(
sub_object
,
skin_path
=
skin_path
)
iterate
(
sub_object
,
skin_path
=
skin_path
)
# Only search ProxyFields within skin folder defined by this business template
# Only search ProxyFields within skin folder defined by this business template
...
...
bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_vcs/BusinessTemplate_handleException.py
View file @
e9199860
...
@@ -2,6 +2,9 @@ from erp5.component.module.Git import GitLoginError
...
@@ -2,6 +2,9 @@ from erp5.component.module.Git import GitLoginError
from
erp5.component.module.SubversionClient
import
SubversionSSLTrustError
,
SubversionLoginError
from
erp5.component.module.SubversionClient
import
SubversionSSLTrustError
,
SubversionLoginError
import
json
import
json
kw
=
{}
method
=
'view'
message
=
'Unknown error'
try
:
try
:
raise
exception
raise
exception
except
SubversionSSLTrustError
as
e
:
except
SubversionSSLTrustError
as
e
:
...
...
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