mirror of
https://github.com/certbot/certbot.git
synced 2026-06-03 13:59:02 -04:00
Fix "lint" and "providedBy" build errors
This commit is contained in:
parent
ec3bb4cf13
commit
bcb9224301
3 changed files with 2 additions and 1 deletions
|
|
@ -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]
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue