summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-03-21 19:48:17 +0000
committerGerrit Code Review <review@openstack.org>2017-03-21 19:48:17 +0000
commit88d50ec1081468cdddf7e266321063655c638b5f (patch)
treeaf512ed146fbb282a6cb95f3c079d85367643925
parent711bac3c7649fa2313e74e26e698743a631ac5ab (diff)
parent6868551b12ae8479d6446961c7a220b235dd3f5e (diff)
Merge "Remove os.path.abspath() in ignore paths"HEAD0.8.0master
-rw-r--r--doc8/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc8/main.py b/doc8/main.py
index 1ca2e86..9fc10e2 100644
--- a/doc8/main.py
+++ b/doc8/main.py
@@ -75,7 +75,7 @@ def parse_ignore_path_errors(entries):
75 ignore_path_errors = collections.defaultdict(set) 75 ignore_path_errors = collections.defaultdict(set)
76 for path in entries: 76 for path in entries:
77 path, ignored_errors = path.split(";", 1) 77 path, ignored_errors = path.split(";", 1)
78 path = os.path.abspath(path.strip()) 78 path = path.strip()
79 ignored_errors = split_set_type(ignored_errors, delimiter=";") 79 ignored_errors = split_set_type(ignored_errors, delimiter=";")
80 ignore_path_errors[path].update(ignored_errors) 80 ignore_path_errors[path].update(ignored_errors)
81 return dict(ignore_path_errors) 81 return dict(ignore_path_errors)