Another try on protected access lint error

This commit is contained in:
Seth Schoen
2016-03-24 12:02:11 -07:00
parent f3362d9978
commit a9e0b0f6ab
+2 -1
View File
@@ -148,10 +148,11 @@ def relevant_values(all_values):
from letsencrypt import cli
def _is_cli_default(option, value): # pylint: disable=protected-access
def _is_cli_default(option, value):
# Look through the CLI parser defaults and see if this option is
# both present and equal to the specified value. If not, return
# False.
# pylint: disable=protected-access
for x in cli.helpful_parser.parser._actions:
if x.dest == option:
if x.default == value: