From: Gordon Hecker Date: Tue, 19 Jan 2010 17:21:47 +0000 (+0100) Subject: url: turn into proper module X-Git-Tag: e2factory-2.3.4pre1~40 X-Git-Url: https://git.e2factory.org/?a=commitdiff_plain;h=41f8593f25980e94201a0c3280e8899715872ede;p=e2factory.git url: turn into proper module Signed-off-by: Gordon Hecker --- diff --git a/generic/url.lua b/generic/url.lua index a3d913c..9354d7c 100644 --- a/generic/url.lua +++ b/generic/url.lua @@ -25,6 +25,8 @@ along with this program. If not, see . ]] +module("url", package.seeall) + --- parse -- @param url the url to parse -- @return a table holding all parsed parts of the url, or nil on error @@ -72,6 +74,3 @@ function parse(url) end return u, nil end - -url = {} -url.parse = parse