[elbe-devel] [PATCH v2 28/28] Remove "asciidoclog.py" from ELBE

Torben Hohn torben.hohn at linutronix.de
Wed Jun 26 16:30:42 CEST 2019


On Fri, Jun 21, 2019 at 07:40:20PM +0200, dion at linutronix.de wrote:
> From: Olivier Dion <dion at linutronix.de>
> 
> Signed-off-by: Olivier Dion <dion at linutronix.de>

Reviewed-by: Torben Hohn <torben.hohn at linutronix.de>

> ---
>  elbepack/asciidoclog.py | 67 -------------------------------------------------
>  1 file changed, 67 deletions(-)
>  delete mode 100644 elbepack/asciidoclog.py
> 
> diff --git a/elbepack/asciidoclog.py b/elbepack/asciidoclog.py
> deleted file mode 100644
> index 322e037d..00000000
> --- a/elbepack/asciidoclog.py
> +++ /dev/null
> @@ -1,67 +0,0 @@
> -# ELBE - Debian Based Embedded Rootfilesystem Builder
> -# Copyright (c) 2014, 2016 Torben Hohn <torben.hohn at linutronix.de>
> -# Copyright (c) 2014 Ferdinand Schwenk <ferdinand.schwenk at emtrion.de>
> -# Copyright (c) 2014, 2016-2017 Manuel Traut <manut at linutronix.de>
> -#
> -# SPDX-License-Identifier: GPL-3.0-or-later
> -
> -import os
> -import sys
> -import logging
> -
> -from elbepack.shellhelper import get_command_out, do, chroot
> -
> -class CommandError(Exception):
> -    def __init__(self, cmd, returncode):
> -        Exception.__init__(self)
> -        self.returncode = returncode
> -        self.cmd = cmd
> -
> -    def __repr__(self):
> -        return "Error: %d returned from Command %s" % (
> -            self.returncode, self.cmd)
> -
> -
> -
> -class LogBase():
> -    def __init__(self, *args, **kwargs):
> -        pass
> -
> -    def printo(self, text=""):
> -        logging.debug(text)
> -
> -    def print_raw(self, text):
> -        self.printo(text)
> -
> -    def h1(self, text):
> -        self.printo(text)
> -
> -    def h2(self, text):
> -        self.printo(text)
> -
> -    def table(self):
> -        pass
> -
> -    def verbatim_start(self):
> -        pass
> -
> -    def verbatim_end(self):
> -        pass
> -
> -    def do(self, cmd, **kwargs):
> -        return do(cmd, **kwargs)
> -
> -    def chroot(self, directory, cmd, **kwargs):
> -        return chroot(directory, cmd, **kwargs)
> -
> -    def get_command_out(self, cmd, **kwargs):
> -        return get_command_out(cmd, **kwargs)
> -
> -class ASCIIDocLog (LogBase):
> -    pass
> -
> -class StdoutLog(LogBase):
> -    pass
> -
> -class StderrLog(LogBase):
> -    pass
> -- 
> 2.11.0
> 
> 
> _______________________________________________
> elbe-devel mailing list
> elbe-devel at linutronix.de
> https://lists.linutronix.de/mailman/listinfo/elbe-devel

-- 
Torben Hohn
Linutronix GmbH | Bahnhofstrasse 3 | D-88690 Uhldingen-Mühlhofen
Phone: +49 7556 25 999 18; Fax.: +49 7556 25 999 99

Hinweise zum Datenschutz finden Sie hier (Informations on data privacy 
can be found here): https://linutronix.de/kontakt/Datenschutz.php

Linutronix GmbH | Firmensitz (Registered Office): Uhldingen-Mühlhofen | 
Registergericht (Registration Court): Amtsgericht Freiburg i.Br., HRB700 
806 | Geschäftsführer (Managing Directors): Heinz Egger, Thomas Gleixner



More information about the elbe-devel mailing list