Changeset 5872

Show
Ignore:
Timestamp:
03/18/10 23:40:57 (3 years ago)
Author:
jow
Message:

luci-0.9: merge r5871

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • luci/branches/luci-0.9/libs/uvl/luasrc/uvl/validation.lua

    r5118 r5872  
    1818local fs = require "nixio.fs" 
    1919local sys = require "luci.sys" 
    20 local ERR = require "luci.uvl.errors" 
     20local ERR = require "luci.uvl.errors".error 
    2121 
    2222local ipairs, unpack, type, tostring = ipairs, unpack, type, tostring 
     
    6464 
    6565            if not ok then 
    66                 return false, ERR.SME_ERRVAL(object, {tostring(val), err}) 
     66                return false, ERR('SME_ERRVAL', object, {tostring(val), err}) 
    6767            end 
    6868        end