aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2018-02-28 05:02:05 +0000
committerKyle Evans <kevans@FreeBSD.org>2018-02-28 05:02:05 +0000
commiteda2d36b18502e77279c1f5ea58343d21d3dab6b (patch)
treea394ec6824945e39711b2481f36457417c5fdfd4
parented1d0954ca4abf42d76a9da282650fe5bc6956bb (diff)
lualoader: Remove debug function
Our module bits ended up more stable than I anticipated, so this turns out to be no longer useful. If things like this need to come back, we should do it in a separate 'debug' module to serve as a collection of debugging aides. As a rule, this 'debug' module would *not* be allowed as a requirement of any other modules in-tree.
Notes
Notes: svn path=/head/; revision=330100
-rw-r--r--stand/lua/config.lua9
1 files changed, 0 insertions, 9 deletions
diff --git a/stand/lua/config.lua b/stand/lua/config.lua
index 06e6b9542622..dd1c0c1d24c2 100644
--- a/stand/lua/config.lua
+++ b/stand/lua/config.lua
@@ -249,15 +249,6 @@ function config.setKey(key, name, value)
modules[key][name] = value
end
-function config.lsModules()
- print("== Listing modules")
- for k, v in pairs(modules) do
- print(k, v.load)
- end
- print("== List of modules ended")
-end
-
-
function config.isValidComment(line)
if line ~= nil then
local s = line:match("^%s*#.*")