summaryrefslogtreecommitdiffstats
path: root/aconf/persistence/defer.lua
diff options
context:
space:
mode:
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