Commit b034b0e4 authored by Jérome Perrin's avatar Jérome Perrin Committed by Arnaud Fontaine

forge: pylint on py3

parent 6de9a871
...@@ -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) :
......
...@@ -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
......
...@@ -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:
......
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