summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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"