Trying to satisfy pylint

This commit is contained in:
Seth Schoen 2016-02-08 17:48:12 -08:00
parent de455ac6e0
commit 374e4ebb4d
2 changed files with 3 additions and 3 deletions

View file

@ -1589,8 +1589,8 @@ def _plugins_parsing(helpful, plugins):
helpful.add("webroot", "--webroot-map", default={}, action=WebrootMapProcessor,
help="JSON dictionary mapping domains to webroot paths; this "
"implies -d for each entry. You may need to escape this "
"from your shell. "
"""E.g.: --webroot-map '{"eg1.is,m.eg1.is":"/www/eg1/", "eg2.is":"/www/eg2"}' """
"from your shell. E.g.: --webroot-map "
"""'{"eg1.is,m.eg1.is":"/www/eg1/", "eg2.is":"/www/eg2"}' """
"This option is merged with, but takes precedence over, "
"-w / -d entries. At present, if you put webroot-map in "
"a config file, it needs to be on a single line, like: "

View file

@ -326,7 +326,7 @@ class CLITest(unittest.TestCase): # pylint: disable=too-many-public-methods
self.assertEqual(config.fullchain_path, os.path.abspath(fullchain))
def test_certonly_bad_args(self):
ret, _, _, _ = self._call(['-d', 'foo.bar', 'certonly', '--csr', CSR])
_, _, _, _ = self._call(['-d', 'foo.bar', 'certonly', '--csr', CSR])
# self.assertEqual(ret, '--domains and --csr are mutually exclusive')
# self.assertRaises(errors.Error, self._call,
# ['-d', 'foo.bar', 'certonly', '--csr', CSR])