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
83bcb610
Commit
83bcb610
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
forge: pylint on py3
parent
ecb98568
Changes
3
Show 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 @
83bcb610
...
...
@@ -217,7 +217,7 @@ class WorkingCopy(six.with_metaclass(WorkingCopyMetaClass, Implicit)):
hasDiff
=
lambda
path
:
bool
(
getFilteredDiff
(
diff
(
path
)))
else
:
hasDiff
=
lambda
path
:
True
self
.
__hasDiff
=
hasDiff
self
.
__hasDiff
=
hasDiff
# pylint:disable=unused-private-member
return
hasDiff
(
path
)
def
treeToXML
(
self
,
item
)
:
...
...
bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_toolbox/BusinessTemplate_renameProxyField.py
View file @
83bcb610
...
...
@@ -67,7 +67,7 @@ def iterate(document, skin_path):
sub_object
.
proxifyField
(
field_dict
=
proxify_dict
)
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
)
# Only search ProxyFields within skin folder defined by this business template
...
...
bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_vcs/BusinessTemplate_handleException.py
View file @
83bcb610
...
...
@@ -2,6 +2,9 @@ from erp5.component.module.Git import GitLoginError
from
erp5.component.module.SubversionClient
import
SubversionSSLTrustError
,
SubversionLoginError
import
json
kw
=
{}
method
=
'view'
message
=
'Unknown error'
try
:
raise
exception
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