From 4fb6f62f1b39bb3af69d3e7f097448caa0780939 Mon Sep 17 00:00:00 2001 From: Marius Gedminas Date: Thu, 15 Oct 2015 10:41:00 +0300 Subject: Fix Unexpected Exception: global name 'os' is not defined I inadvertently introduced it in ca826508d992f99ab6cba75d03a34b804448dfef and didn't notice, because there are no unit tests for playbook_executor.py. Sorry! (The "from ansible.errors import *" was used *only* to get the 'os' module, which makes go "what?") --- lib/ansible/executor/playbook_executor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/executor/playbook_executor.py b/lib/ansible/executor/playbook_executor.py index b53ccfc9d8..34752f58e7 100644 --- a/lib/ansible/executor/playbook_executor.py +++ b/lib/ansible/executor/playbook_executor.py @@ -21,13 +21,13 @@ __metaclass__ = type import getpass import locale +import os import signal import sys from six import string_types from ansible import constants as C -from ansible.errors import * from ansible.executor.task_queue_manager import TaskQueueManager from ansible.playbook import Playbook from ansible.template import Templar -- cgit v1.2.1