summaryrefslogtreecommitdiffhomepage
path: root/libs
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-03-18 17:25:25 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-03-18 17:25:25 +0000
commit1661add529c525939a27ae47c1429bfe50615211 (patch)
tree75d341f7020534189d4e15073cfeb011d8cfc3b0 /libs
parentc91c64b9276e8c5cab09970bdb41d19a8c6fd4d4 (diff)
libs/uvl: local symbol error shadows error class declaration, drop it
Diffstat (limited to 'libs')
-rw-r--r--libs/uvl/luasrc/uvl/errors.lua7
1 files changed, 2 insertions, 5 deletions
diff --git a/libs/uvl/luasrc/uvl/errors.lua b/libs/uvl/luasrc/uvl/errors.lua
index 1aa3f7f0c..45f331f46 100644
--- a/libs/uvl/luasrc/uvl/errors.lua
+++ b/libs/uvl/luasrc/uvl/errors.lua
@@ -19,11 +19,8 @@ local uvl = require "luci.uvl"
local util = require "luci.util"
local string = require "string"
-local ipairs, error, type = ipairs, error, type
-local tonumber, unpack = tonumber, unpack
-
-
-local luci = luci
+local luci, tonumber, unpack, ipairs, type =
+ luci, tonumber, unpack, ipairs, type
module "luci.uvl.errors"