1
0
mirror of https://github.com/certbot/certbot.git synced 2025-08-09 15:02:48 +03:00

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
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, # List of plugins (as comma separated values of python modules names) to load,
# usually to register additional checkers. # usually to register additional checkers.
load-plugins=letsencrypt.acme.lint load-plugins=linter_plugin
[MESSAGES CONTROL] [MESSAGES CONTROL]

View File

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