[elbe-devel] [PATCH v2 28/28] Remove "asciidoclog.py" from ELBE
dion at linutronix.de
dion at linutronix.de
Fri Jun 21 19:40:20 CEST 2019
From: Olivier Dion <dion at linutronix.de>
Signed-off-by: Olivier Dion <dion 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
More information about the elbe-devel
mailing list