Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Feb 2018 05:02:05 +0000 (UTC)
From:      Kyle Evans <kevans@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r330100 - head/stand/lua
Message-ID:  <201802280502.w1S525tl063036@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kevans
Date: Wed Feb 28 05:02:05 2018
New Revision: 330100
URL: https://svnweb.freebsd.org/changeset/base/330100

Log:
  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.

Modified:
  head/stand/lua/config.lua

Modified: head/stand/lua/config.lua
==============================================================================
--- head/stand/lua/config.lua	Wed Feb 28 04:31:19 2018	(r330099)
+++ head/stand/lua/config.lua	Wed Feb 28 05:02:05 2018	(r330100)
@@ -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*#.*")



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802280502.w1S525tl063036>