Comparison

util/stanza.lua @ 1935:05adeddf9f1b

util.stanza: Remove silly dependency on util.logger
author Matthew Wild <mwild1@gmail.com>
date Thu, 08 Oct 2009 20:06:07 +0100
parent 1932:af8cdbb63b13
child 1984:f2b1f89e1d7c
comparison
equal deleted inserted replaced
1934:e14cf28396a8 1935:05adeddf9f1b
35 else 35 else
36 do_pretty_printing = nil; 36 do_pretty_printing = nil;
37 end 37 end
38 end 38 end
39 39
40 local log = require "util.logger".init("stanza");
41
42 module "stanza" 40 module "stanza"
43 41
44 stanza_mt = { __type = "stanza" }; 42 stanza_mt = { __type = "stanza" };
45 stanza_mt.__index = stanza_mt; 43 stanza_mt.__index = stanza_mt;
46 44