From: Tobias Ulmer Date: Tue, 10 Jul 2012 13:19:37 +0000 (+0200) Subject: Remove e2lib.estring(), it's not in use X-Git-Tag: e2factory-2.3.12rc1~18 X-Git-Url: https://git.e2factory.org/?a=commitdiff_plain;h=4887c00a28d8f1c6b5c31521c52b4ac5fcf571f6;p=e2factory.git Remove e2lib.estring(), it's not in use Signed-off-by: Tobias Ulmer --- diff --git a/generic/e2lib.lua b/generic/e2lib.lua index d605fed..8007870 100644 --- a/generic/e2lib.lua +++ b/generic/e2lib.lua @@ -1899,14 +1899,6 @@ function read_template(file) return template, nil end ---- generate an error string from an error string and a token --- @param e string: error string --- @param token string: the token leading to the error --- @return string: an error string suitable for printing -function estring(e, token) - return string.format("%s: %s", tostring(token), tostring(e)) -end - --- parse a server:location string, taking a default server into account -- @param arg string: the string to parse -- @param dafault server string: the default server name