From: Tobias Ulmer Date: Mon, 31 Oct 2016 13:23:06 +0000 (+0100) Subject: result: remove unused todot() X-Git-Tag: e2factory-2.3.15rc1~39 X-Git-Url: https://git.e2factory.org/?a=commitdiff_plain;h=08963b053ce539fe5b1f9c24a2108242e7bc1ed9;p=e2factory.git result: remove unused todot() Signed-off-by: Tobias Ulmer --- diff --git a/local/result.lua b/local/result.lua index da4a467..a4d7b9d 100644 --- a/local/result.lua +++ b/local/result.lua @@ -186,13 +186,6 @@ function result.basic_result:attribute_table(flagt) self._type, self._name)) end ---- Dot representation -function result.basic_result:dot(flagt) - assert(flagt == nil or type(flagt) == "table") - error(err.new("called todot() of result base class, type %s name %s", - self._type, self._name)) -end - -------------------------------------------------------------------------------- --- Result class (standard). -------------------------------------------------------------------------------- @@ -575,12 +568,6 @@ function result.result_class:attribute_table(flagt) return t end -function result.result_class:todot(flagt) - assert(flagt == nil or type(flagt) == "table") - flagt = flagt or {} - error("todot missing implementation") -end - -------------------------------------------------------------------------------- -- Result loading and plugin hookup --------------------------------------------------------------------------------