Fix Unexpected Exception: global name 'os' is not defined

I inadvertently introduced it in
ca826508d9 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?")
This commit is contained in:
Marius Gedminas 2015-10-15 10:41:00 +03:00
parent 0526b43b5f
commit 4fb6f62f1b

View file

@ -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