Comparison

core/storagemanager.lua @ 3784:7383ac93fb27

storagemanager: Import util.multitable again
author Matthew Wild <mwild1@gmail.com>
date Sat, 27 Nov 2010 21:16:32 +0000
parent 3783:6ea353a7548a
child 3659:aa7bf12a5668
comparison
equal deleted inserted replaced
3783:6ea353a7548a 3784:7383ac93fb27
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