summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Harlow <harlowja@yahoo-inc.com>2014-10-23 12:35:17 -0700
committerJoshua Harlow <harlowja@yahoo-inc.com>2014-10-23 12:35:17 -0700
commit666805dd8ee2702a1f6c9bef05a7cca27ade3e3a (patch)
tree408b44c5d27cf6227327da91586d91562cd04d44
parent8b8f22329bb8456df870616a8c8e6601f4e70755 (diff)
Fix the 'ignore-path' config option
The option shouldn't be named 'ignore_path' but should be named 'ignore-path' to match the docs and to match the CLI argument. Change-Id: If5346910b259a0c092eea5c9adde281c2f2ff347
Notes
Notes (review): Verified+2: Jenkins Code-Review+2: Joshua Harlow <harlowja@yahoo-inc.com> Workflow+1: Joshua Harlow <harlowja@yahoo-inc.com> Submitted-by: Jenkins Submitted-at: Sat, 25 Oct 2014 00:28:29 +0000 Reviewed-on: https://review.openstack.org/130627 Project: stackforge/doc8 Branch: refs/heads/master
-rw-r--r--doc8/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc8/main.py b/doc8/main.py
index 85228d8..b892bdb 100644
--- a/doc8/main.py
+++ b/doc8/main.py
@@ -93,7 +93,7 @@ def extract_config(args):
93 pass 93 pass
94 try: 94 try:
95 cfg['ignore_path'] = split_set_type(parser.get("doc8", 95 cfg['ignore_path'] = split_set_type(parser.get("doc8",
96 "ignore_path")) 96 "ignore-path"))
97 except (configparser.NoSectionError, configparser.NoOptionError): 97 except (configparser.NoSectionError, configparser.NoOptionError):
98 pass 98 pass
99 try: 99 try: