mirror of
https://github.com/certbot/certbot.git
synced 2025-07-30 09:03:08 +03:00
Fix "lint" and "providedBy" build errors
This commit is contained in:
@ -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:
|
||||
|
Reference in New Issue
Block a user