summaryrefslogtreecommitdiffstats
path: root/aconf/persistence/backends/json.lua
diff options
context:
space:
mode:
Diffstat (limited to 'aconf/persistence/backends/json.lua')
-rw-r--r--aconf/persistence/backends/json.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/aconf/persistence/backends/json.lua b/aconf/persistence/backends/json.lua
index 5a13955..66cb667 100644
--- a/aconf/persistence/backends/json.lua
+++ b/aconf/persistence/backends/json.lua
@@ -3,7 +3,7 @@ Copyright (c) 2012-2015 Kaarle Ritvanen
See LICENSE file for license details
--]]
-local address = require('aconf.path.address')
+local pth = require('aconf.path')
local Cache = require('aconf.persistence.backends.volatile')
local util = require('aconf.persistence.util')
local copy = require('aconf.util').copy
@@ -26,7 +26,7 @@ function backend:split_path(path)
local res
while #fpath > 0 do
- local fp = address.join('/', table.unpack(fpath))
+ local fp = pth.join('/', table.unpack(fpath))
if self.cache[fp] then return fp, jpath end
table.insert(jpath, 1, fpath[#fpath])
table.remove(fpath)
@@ -35,7 +35,7 @@ function backend:split_path(path)
fpath = '/'
while true do
- fpath = address.join(fpath, jpath[1])
+ fpath = pth.join(fpath, jpath[1])
table.remove(jpath, 1)
local t = posix.stat(fpath, 'type')