From 4e0f82e0e985f338371fc2979f69d91906ca55d8 Mon Sep 17 00:00:00 2001 From: Matt Clay Date: Fri, 24 Feb 2017 12:55:55 -0800 Subject: [PATCH] Fix PEP 8 issue. --- lib/ansible/parsing/dataloader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/parsing/dataloader.py b/lib/ansible/parsing/dataloader.py index 647d430e1c4..8fefe9d2dd1 100644 --- a/lib/ansible/parsing/dataloader.py +++ b/lib/ansible/parsing/dataloader.py @@ -247,7 +247,7 @@ class DataLoader(): basedir = unfrackpath(path) #FIXME: this role detection will not work with alternate/missing main.yml - # is it a role and if so make sure you get correct base path + # is it a role and if so make sure you get correct base path if path.endswith('tasks') and os.path.exists(to_bytes(os.path.join(path,'main.yml'), errors='surrogate_or_strict')) \ or os.path.exists(to_bytes(os.path.join(path,'tasks/main.yml'), errors='surrogate_or_strict')): is_role = True