modulemanager: Cleanup some unused variables, imports, whitespace and add a comment.
authorMatthew Wild <mwild1@gmail.com>
Sun, 22 Jan 2012 18:49:49 +0000
changeset 4535 d46e9ad4fe8a
parent 4534 7a0a31c4f6c5
child 4536 285450536ec0
modulemanager: Cleanup some unused variables, imports, whitespace and add a comment.
core/modulemanager.lua
--- a/core/modulemanager.lua	Sun Jan 22 18:49:11 2012 +0000
+++ b/core/modulemanager.lua	Sun Jan 22 18:49:49 2012 +0000
@@ -9,8 +9,6 @@
 local logger = require "util.logger";
 local log = logger.init("modulemanager");
 local config = require "core.configmanager";
-local multitable_new = require "util.multitable".new;
-local st = require "util.stanza";
 local pluginloader = require "util.pluginloader";
 
 local hosts = hosts;
@@ -46,6 +44,7 @@
 
 local api = _G.require "core.moduleapi"; -- Module API container
 
+-- [host] = { [module] = module_env }
 local modulemap = { ["*"] = {} };
 
 local NULL = {};
@@ -185,7 +184,6 @@
 	end
 
 	local saved;
-
 	if module_has_method(mod, "save") then
 		local ok, ret, err = call_module_method(mod, "save");
 		if ok then