From 374e4ebb4dc11941f6f271f30872df6bb1bb658e Mon Sep 17 00:00:00 2001 From: Seth Schoen Date: Mon, 8 Feb 2016 17:48:12 -0800 Subject: [PATCH] Trying to satisfy pylint --- letsencrypt/cli.py | 4 ++-- letsencrypt/tests/cli_test.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/letsencrypt/cli.py b/letsencrypt/cli.py index 19358a8bd..7dd0a7771 100644 --- a/letsencrypt/cli.py +++ b/letsencrypt/cli.py @@ -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: " diff --git a/letsencrypt/tests/cli_test.py b/letsencrypt/tests/cli_test.py index c263fd8ec..76b7676c3 100644 --- a/letsencrypt/tests/cli_test.py +++ b/letsencrypt/tests/cli_test.py @@ -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])