diff --git a/v2/bin/ansible-playbook b/v2/bin/ansible-playbook index 01af12acaee..a67864edecf 100755 --- a/v2/bin/ansible-playbook +++ b/v2/bin/ansible-playbook @@ -17,8 +17,7 @@ from ansible.utils.vars import combine_vars from ansible.vars import VariableManager # Implement an ansible.utils.warning() function later -import __builtin__ -warning = getattr(__builtin__, 'print') +warning = getattr(__builtins__, 'print') #---------------------------------------------------------------------------------------------------