projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build: remove some obsolete support scripts
[project/luci.git]
/
libs
/
uvl
/
luasrc
/
uvl
/
validation.lua
diff --git
a/libs/uvl/luasrc/uvl/validation.lua
b/libs/uvl/luasrc/uvl/validation.lua
index
47eed6b
..
25ac6dc
100644
(file)
--- a/
libs/uvl/luasrc/uvl/validation.lua
+++ b/
libs/uvl/luasrc/uvl/validation.lua
@@
-17,7
+17,7
@@
$Id$
local os = require "os"
local fs = require "nixio.fs"
local sys = require "luci.sys"
local os = require "os"
local fs = require "nixio.fs"
local sys = require "luci.sys"
-local ERR = require "luci.uvl.errors"
+local ERR = require "luci.uvl.errors"
.error
local ipairs, unpack, type, tostring = ipairs, unpack, type, tostring
local ipairs, unpack, type, tostring = ipairs, unpack, type, tostring
@@
-63,7
+63,7
@@
function check( self, object )
end
if not ok then
end
if not ok then
- return false, ERR
.SME_ERRVAL(
object, {tostring(val), err})
+ return false, ERR
('SME_ERRVAL',
object, {tostring(val), err})
end
end
end
end
end
end