summaryrefslogtreecommitdiffstats
path: root/aconf/persistence/defer.lua
diff options
context:
space:
mode:
authorKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2015-02-09 19:44:12 +0200
committerKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2015-02-12 16:32:41 +0200
commit29282b5a7d43e8b5ce12b0ec4b7a7620c19a67b6 (patch)
treea8ad7d5343c41950ff9c8f96a55f41a80271f72a /aconf/persistence/defer.lua
parent07a0eb180872401b271de40190603df8f3ab3db2 (diff)
downloadaconf-29282b5a7d43e8b5ce12b0ec4b7a7620c19a67b6.tar.bz2
aconf-29282b5a7d43e8b5ce12b0ec4b7a7620c19a67b6.tar.xz
proper escaping for back-end addresses
Diffstat (limited to 'aconf/persistence/defer.lua')
-rw-r--r--aconf/persistence/defer.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/aconf/persistence/defer.lua b/aconf/persistence/defer.lua
index cfa8e8b..d7f33d8 100644
--- a/aconf/persistence/defer.lua
+++ b/aconf/persistence/defer.lua
@@ -1,12 +1,12 @@
--[[
-Copyright (c) 2012-2014 Kaarle Ritvanen
+Copyright (c) 2012-2015 Kaarle Ritvanen
See LICENSE file for license details
--]]
local object = require('aconf.object')
local super = object.super
-local pth = require('aconf.path')
+local address = require('aconf.path.address')
local DeferringCommitter = object.class(
@@ -31,7 +31,7 @@ function DeferringCommitter:_set_multiple(mods)
local path, value = table.unpack(mod)
while path > '/' do
if self.defer_paths[path] then return end
- path = pth.parent(path)
+ path = address.parent(path)
end
end