From 56eb4573b72fe778bc2785c182b5ece237636ead Mon Sep 17 00:00:00 2001 From: Tobias Ulmer Date: Wed, 22 Jun 2016 17:06:55 +0200 Subject: [PATCH] e2tool: make set_info() local Signed-off-by: Tobias Ulmer --- local/e2tool.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/local/e2tool.lua b/local/e2tool.lua index ed1ae95..2fe9364 100644 --- a/local/e2tool.lua +++ b/local/e2tool.lua @@ -131,8 +131,8 @@ end --- Set a new info table. -- @param t Table to use for info. -- @return The new info table. -function e2tool.set_info(t) - assert(type(t) == "table") +local function set_info(t) + assertIsTable(t) _info = t return _info end @@ -154,7 +154,7 @@ function e2tool.local_init(path, tool) local e = err.new("initializing local tool") local info - info = e2tool.set_info({}) + info = set_info({}) info.current_tool = tool -- 2.39.5