From d7d04ad2cd724f46b915eb0d7a64e0107f15518a Mon Sep 17 00:00:00 2001 From: Dag Wieers Date: Thu, 10 Mar 2016 03:18:09 +0100 Subject: [PATCH] Fix misspelling and some cosmetic change --- lib/ansible/playbook/become.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/ansible/playbook/become.py b/lib/ansible/playbook/become.py index 1e579751d46..a2d1109cfcc 100644 --- a/lib/ansible/playbook/become.py +++ b/lib/ansible/playbook/become.py @@ -31,7 +31,7 @@ except ImportError: class Become: - # Privlege escalation + # Privilege escalation _become = FieldAttribute(isa='bool') _become_method = FieldAttribute(isa='string') _become_user = FieldAttribute(isa='string') @@ -60,7 +60,7 @@ class Become: This is called from the Base object's preprocess_data() method which in turn is called pretty much anytime any sort of playbook object - (plays, tasks, blocks, etc) are created. + (plays, tasks, blocks, etc) is created. """ self._detect_privilege_escalation_conflict(ds) @@ -90,7 +90,6 @@ class Become: display.deprecated("Instead of su/su_user, use become/become_user and set become_method to 'su' (default is sudo)") - return ds def set_become_defaults(self, become, become_method, become_user):