From 0f29d996b729af2a9ef82272afebc96a59ccc9d4 Mon Sep 17 00:00:00 2001 From: Edoardo Putti Date: Thu, 13 Oct 2016 18:48:43 +0200 Subject: [PATCH] pass module to file_read function --- library/container_file_read.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/container_file_read.py b/library/container_file_read.py index a793be4..9243d89 100644 --- a/library/container_file_read.py +++ b/library/container_file_read.py @@ -72,7 +72,7 @@ def main(): file_exists = container.attach_wait( read_file_in_container, - file_path, + (file_path, module), env_policy = lxc.LXC_ATTACH_CLEAR_ENV, )