Remove os.path.abspath() in ignore paths

The filenames are actually relative in validate(), so nothing matches otherwise.

Change-Id: Ie9c3d2f0592817e893125f7725e9cd5e9037a942
This commit is contained in:
Julien Danjou 2017-03-15 14:49:08 +01:00
parent f612f0e508
commit 6868551b12
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ def parse_ignore_path_errors(entries):
ignore_path_errors = collections.defaultdict(set)
for path in entries:
path, ignored_errors = path.split(";", 1)
path = os.path.abspath(path.strip())
path = path.strip()
ignored_errors = split_set_type(ignored_errors, delimiter=";")
ignore_path_errors[path].update(ignored_errors)
return dict(ignore_path_errors)