From 7d007cac162dfdb900cfaa080936099028fa6b7b Mon Sep 17 00:00:00 2001 From: Andrew Smith Date: Thu, 28 Nov 2013 09:44:14 +1000 Subject: [PATCH] =?UTF-8?q?Correct=20the=20invocation=20of=20=E2=80=98=5Fa?= =?UTF-8?q?ssemble=5Ffrom=5Ffragments=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/ansible/runner/action_plugins/assemble.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/runner/action_plugins/assemble.py b/lib/ansible/runner/action_plugins/assemble.py index 54036057f41..468dee89ff2 100644 --- a/lib/ansible/runner/action_plugins/assemble.py +++ b/lib/ansible/runner/action_plugins/assemble.py @@ -28,7 +28,7 @@ class ActionModule(object): def __init__(self, runner): self.runner = runner - def _assemble_from_fragments(src_path, delimiter=None): + def _assemble_from_fragments(self, src_path, delimiter=None): ''' assemble a file from a directory of fragments ''' tmpfd, temp_path = tempfile.mkstemp() tmp = os.fdopen(tmpfd,'w') @@ -64,7 +64,7 @@ class ActionModule(object): return self.runner._execute_module(conn, tmp, 'assemble', module_args, inject=inject, complex_args=complex_args) # Does all work assembling the file - path = _assemble_from_fragments(src, delimiter) + path = self._assemble_from_fragments(src, delimiter) pathmd5 = utils.md5s(path) remote_md5 = self.runner._remote_md5(conn, tmp, dest)