# HG changeset patch # User Matthew Wild # Date 1327258189 0 # Node ID d46e9ad4fe8ae6864b0d002e06672ac4eb51583d # Parent 7a0a31c4f6c5ebf8a1217edf9f5a56af771e640d modulemanager: Cleanup some unused variables, imports, whitespace and add a comment. diff -r 7a0a31c4f6c5 -r d46e9ad4fe8a 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