# HG changeset patch # User Waqas Hussain # Date 1223504476 -18000 # Node ID 023320150c6594473ac472e03e47e7ad2cdb3d9d # Parent 059ef1c30844d4749a681f093bd34b8f815943fd Minor fix diff -r 059ef1c30844 -r 023320150c65 util/datamanager.lua --- a/util/datamanager.lua Thu Oct 09 03:01:47 2008 +0500 +++ b/util/datamanager.lua Thu Oct 09 03:21:16 2008 +0500 @@ -5,6 +5,7 @@ local loadfile, setfenv, pcall = loadfile, setfenv, pcall; local log = log; local io_open = io.open; +local tostring = tostring; module "datamanager" @@ -30,7 +31,7 @@ if type(o) == "number" or type(o) == "boolean" then return tostring(o) else -- assume it is a string - return string.format("%q", tostring(o)) + return format("%q", tostring(o)) end end