summaryrefslogtreecommitdiffstats
path: root/aconf/persistence/defer.lua
diff options
context:
space:
mode:
authorKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2014-04-15 22:59:21 +0300
committerKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2014-04-15 22:59:21 +0300
commitd9decd5a0dd0abbe7842da4400e665d96d6b8f9b (patch)
tree27a1807e9f8d1fa69b4ba0f0a2f2b5080906a825 /aconf/persistence/defer.lua
parent909197f81d7cc47f6bfbaed39727c59245584bbb (diff)
downloadaconf-d9decd5a0dd0abbe7842da4400e665d96d6b8f9b.tar.bz2
aconf-d9decd5a0dd0abbe7842da4400e665d96d6b8f9b.tar.xz
use 'unpack' function from 'table' module
Diffstat (limited to 'aconf/persistence/defer.lua')
-rw-r--r--aconf/persistence/defer.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/aconf/persistence/defer.lua b/aconf/persistence/defer.lua
index 5db5a21..cfa8e8b 100644
--- a/aconf/persistence/defer.lua
+++ b/aconf/persistence/defer.lua
@@ -28,7 +28,7 @@ function DeferringCommitter:_set_multiple(mods)
self.committed = false
for _, mod in ipairs(mods) do
- local path, value = unpack(mod)
+ local path, value = table.unpack(mod)
while path > '/' do
if self.defer_paths[path] then return end
path = pth.parent(path)