Comparison

tools/migration/migrator/prosody_files.lua @ 5021:85b2689dbcfe

Eliminate direct setfenv usage
author Florian Zeitz <florob@babelmonkeys.de>
date Fri, 08 Jun 2012 05:04:38 +0200
parent 4293:419354c47c28
child 5974:9ce0d246c851
comparison
equal deleted inserted replaced
5020:ef1eb65acbba 5021:85b2689dbcfe
5 local tonumber = tonumber; 5 local tonumber = tonumber;
6 local char = string.char; 6 local char = string.char;
7 local coroutine = coroutine; 7 local coroutine = coroutine;
8 local lfs = require "lfs"; 8 local lfs = require "lfs";
9 local loadfile = loadfile; 9 local loadfile = loadfile;
10 local setfenv = setfenv;
11 local pcall = pcall; 10 local pcall = pcall;
12 local mtools = require "migrator.mtools"; 11 local mtools = require "migrator.mtools";
13 local next = next; 12 local next = next;
14 local pairs = pairs; 13 local pairs = pairs;
15 local json = require "util.json"; 14 local json = require "util.json";