From 83889bc5e4659e845d919e9a477a29167e7cb4f8 Mon Sep 17 00:00:00 2001 From: Kaarle Ritvanen Date: Wed, 11 Mar 2015 13:59:25 +0200 Subject: remove address module --- aconf/persistence/init.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'aconf/persistence/init.lua') diff --git a/aconf/persistence/init.lua b/aconf/persistence/init.lua index 632c191..481e859 100644 --- a/aconf/persistence/init.lua +++ b/aconf/persistence/init.lua @@ -6,7 +6,7 @@ See LICENSE file for license details local loadmods = require('aconf.loader') local topology = require('aconf.model.root').topology local object = require('aconf.object') -local address = require('aconf.path.address') +local pth = require('aconf.path') local util = require('aconf.util') local contains = util.contains @@ -38,7 +38,7 @@ function DataStore:trigger(phase, path, func) end function DataStore:split_path(path) - local comps = address.split(path) + local comps = pth.split(path) local backend = self.backends[comps[1]] assert(backend) table.remove(comps, 1) @@ -105,7 +105,7 @@ function DataStore:_set_multiple(mods) local tp = path while not trigger[tp] do trigger[tp] = true - tp = address.parent(tp) + tp = pth.parent(tp) end local backend, comps = self:split_path(path) -- cgit v1.2.3