Changeset

5003:a70eeed3f502

Merge with IRON
author Matthew Wild <mwild1@gmail.com>
date Wed, 25 Jul 2012 16:57:22 +0100
parents 5002:7a0b17118987 (current diff) 5001:78a3d275715a (diff)
children 5004:047f6621e709
files
diffstat 1 files changed, 4 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/core/loggingmanager.lua	Wed Jul 25 18:49:13 2012 +0300
+++ b/core/loggingmanager.lua	Wed Jul 25 16:57:22 2012 +0100
@@ -7,14 +7,12 @@
 --
 
 
-local format, rep = string.format, string.rep;
-local pcall = pcall;
-local debug = debug;
-local tostring, setmetatable, rawset, pairs, ipairs, type =
-	tostring, setmetatable, rawset, pairs, ipairs, type;
+local format = string.format;
+local setmetatable, rawset, pairs, ipairs, type =
+	setmetatable, rawset, pairs, ipairs, type;
 local io_open, io_write = io.open, io.write;
 local math_max, rep = math.max, string.rep;
-local os_date, os_getenv = os.date, os.getenv;
+local os_date = os.date;
 local getstyle, setstyle = require "util.termcolours".getstyle, require "util.termcolours".setstyle;
 
 if os.getenv("__FLUSH_LOG") then