Commit bad063ea authored by Jérome Perrin's avatar Jérome Perrin

forge: pylint on py3

parent 1198faf8
......@@ -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) :
......
......@@ -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
......
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment