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

base: pylint on py3

parent f0ff4e45
...@@ -181,7 +181,6 @@ class Coordinate(Base): ...@@ -181,7 +181,6 @@ class Coordinate(Base):
""" """
Returns the standard text formats for telephone numbers Returns the standard text formats for telephone numbers
""" """
pass
security.declareProtected(Permissions.AccessContentsInformation, 'isDetailed') security.declareProtected(Permissions.AccessContentsInformation, 'isDetailed')
def isDetailed(self): def isDetailed(self):
......
...@@ -340,7 +340,7 @@ class SimulatedDeliveryBuilder(BuilderMixin): ...@@ -340,7 +340,7 @@ class SimulatedDeliveryBuilder(BuilderMixin):
'solveDivergence') 'solveDivergence')
solveDivergence = UnrestrictedMethod(_solveDivergence) solveDivergence = UnrestrictedMethod(_solveDivergence)
def _createDelivery(self, delivery_module, movement_list, activate_kw): # pylint: disable=super-on-old-class def _createDelivery(self, delivery_module, movement_list, activate_kw):
""" """
Refer to the docstring in GeneratedDeliveryBuilder. Refer to the docstring in GeneratedDeliveryBuilder.
Unlike GeneratedDeliveryBuilder, SimulatedDeliveryBuilder needs to respect Unlike GeneratedDeliveryBuilder, SimulatedDeliveryBuilder needs to respect
......
...@@ -115,7 +115,7 @@ def unicodeDict(d): ...@@ -115,7 +115,7 @@ def unicodeDict(d):
return d return d
for k, v in six.iteritems(d): for k, v in six.iteritems(d):
if isinstance(v, str): if isinstance(v, str):
d.update({k: unicode(v, 'utf8')}) d.update({k: unicode(v, 'utf8')}) # pylint:disable=undefined-variable
return d return d
......
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