r504 - trunk/scripts

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Tue Feb 26 05:11:46 EST 2008


Author: icculus
Date: 2008-02-26 05:11:45 -0500 (Tue, 26 Feb 2008)
New Revision: 504

Modified:
   trunk/scripts/mojosetup_init.lua
Log:
MojoSetup.dumptable() now handles nil tables being passed in.


Modified: trunk/scripts/mojosetup_init.lua
===================================================================
--- trunk/scripts/mojosetup_init.lua	2008-02-26 10:10:23 UTC (rev 503)
+++ trunk/scripts/mojosetup_init.lua	2008-02-26 10:11:45 UTC (rev 504)
@@ -38,7 +38,12 @@
     end
 
     if tabname ~= nil then
-        MojoSetup.logdebug(tabname .. " = {")
+        if tab == nil then
+            MojoSetup.logdebug(tabname .. " = nil")
+            return
+        else
+            MojoSetup.logdebug(tabname .. " = {")
+        end
     end
 
     local depthstr = ""




More information about the mojosetup-commits mailing list