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
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Jérome Perrin
erp5
Commits
df84b6d4
Commit
df84b6d4
authored
Apr 21, 2024
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
forge: pylint on py3
parent
55381c8a
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 @
df84b6d4
...
...
@@ -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 @
df84b6d4
...
...
@@ -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 @
df84b6d4
...
...
@@ -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