]> git.e2factory.org Git - e2factory.git/commitdiff
Remove e2lib.estring(), it's not in use
authorTobias Ulmer <tu@emlix.com>
Tue, 10 Jul 2012 13:19:37 +0000 (15:19 +0200)
committerTobias Ulmer <tu@emlix.com>
Tue, 10 Jul 2012 13:19:37 +0000 (15:19 +0200)
Signed-off-by: Tobias Ulmer <tu@emlix.com>
generic/e2lib.lua

index d605fedacb1d395d975ca2f0be00a3befd3413cf..8007870d8ed20ed21a6d7e98bdaacda9e28cb323 100644 (file)
@@ -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