Fix "lint" and "providedBy" build errors

This commit is contained in:
Jakub Warmuz 2015-02-08 12:22:16 +00:00
parent ec3bb4cf13
commit bcb9224301
No known key found for this signature in database
GPG key ID: 2A7BAD3A489B52EA
3 changed files with 2 additions and 1 deletions

View file

@ -19,7 +19,7 @@ persistent=yes
# List of plugins (as comma separated values of python modules names) to load,
# usually to register additional checkers.
load-plugins=letsencrypt.acme.lint
load-plugins=linter_plugin
[MESSAGES CONTROL]

View file

@ -89,6 +89,7 @@ def dump_ijsonserializable(python_object):
argument.
"""
# providedBy | pylint: disable=no-member
if interfaces.IJSONSerializable.providedBy(python_object):
return python_object.to_json()
else: