From b781438480d0bd0da17d22ad7ac25a6cb97fec54 Mon Sep 17 00:00:00 2001 From: Dag Wieers Date: Wed, 9 Jan 2013 13:51:27 +0100 Subject: [PATCH] Clean up imports (taken from PR #1804) --- lib/ansible/runner/action_plugins/async.py | 12 ------------ lib/ansible/runner/action_plugins/copy.py | 6 ------ lib/ansible/runner/action_plugins/script.py | 4 ---- lib/ansible/runner/action_plugins/template.py | 6 ------ 4 files changed, 28 deletions(-) diff --git a/lib/ansible/runner/action_plugins/async.py b/lib/ansible/runner/action_plugins/async.py index afc72baa7b6..73b1dd3f7bb 100644 --- a/lib/ansible/runner/action_plugins/async.py +++ b/lib/ansible/runner/action_plugins/async.py @@ -15,18 +15,6 @@ # You should have received a copy of the GNU General Public License # along with Ansible. If not, see . -import os -import pwd -import random -import traceback -import tempfile - -import ansible.constants as C -from ansible import utils -from ansible import errors -from ansible import module_common -from ansible.runner.return_data import ReturnData - class ActionModule(object): def __init__(self, runner): diff --git a/lib/ansible/runner/action_plugins/copy.py b/lib/ansible/runner/action_plugins/copy.py index 9ec2ee8484d..437781c3716 100644 --- a/lib/ansible/runner/action_plugins/copy.py +++ b/lib/ansible/runner/action_plugins/copy.py @@ -16,15 +16,9 @@ # along with Ansible. If not, see . import os -import pwd -import random -import traceback -import tempfile -import ansible.constants as C from ansible import utils from ansible import errors -from ansible import module_common from ansible.runner.return_data import ReturnData class ActionModule(object): diff --git a/lib/ansible/runner/action_plugins/script.py b/lib/ansible/runner/action_plugins/script.py index db694f829a5..6909b3708fd 100644 --- a/lib/ansible/runner/action_plugins/script.py +++ b/lib/ansible/runner/action_plugins/script.py @@ -16,14 +16,10 @@ # along with Ansible. If not, see . import os -import pwd -import traceback import shlex -import ansible.constants as C from ansible import utils from ansible import errors -from ansible import module_common from ansible.runner.return_data import ReturnData class ActionModule(object): diff --git a/lib/ansible/runner/action_plugins/template.py b/lib/ansible/runner/action_plugins/template.py index 80a7c4e7824..c08ea0821a4 100644 --- a/lib/ansible/runner/action_plugins/template.py +++ b/lib/ansible/runner/action_plugins/template.py @@ -16,15 +16,9 @@ # along with Ansible. If not, see . import os -import pwd -import random -import traceback -import tempfile -import ansible.constants as C from ansible import utils from ansible import errors -from ansible import module_common from ansible.runner.return_data import ReturnData class ActionModule(object):