Comparison

core/storagemanager.lua @ 3655:9a590b03a8d6

storagemanager: Import util.multitable again
author Matthew Wild <mwild1@gmail.com>
date Sat, 27 Nov 2010 21:16:32 +0000
parent 3654:8afd15a61743
child 3659:aa7bf12a5668
comparison
equal deleted inserted replaced
3654:8afd15a61743 3655:9a590b03a8d6
3 local setmetatable = setmetatable; 3 local setmetatable = setmetatable;
4 4
5 local config = require "core.configmanager"; 5 local config = require "core.configmanager";
6 local datamanager = require "util.datamanager"; 6 local datamanager = require "util.datamanager";
7 local modulemanager = require "core.modulemanager"; 7 local modulemanager = require "core.modulemanager";
8 local multitable = require "util.multitable";
8 local hosts = hosts; 9 local hosts = hosts;
9 local log = require "util.logger".init("storagemanager"); 10 local log = require "util.logger".init("storagemanager");
10 11
11 local olddm = {}; -- maintain old datamanager, for backwards compatibility 12 local olddm = {}; -- maintain old datamanager, for backwards compatibility
12 for k,v in pairs(datamanager) do olddm[k] = v; end 13 for k,v in pairs(datamanager) do olddm[k] = v; end