[elbe-devel] [PATCH v2 66/66] asciidoclog: Remove from Elbe

Olivier Dion dion at linutronix.de
Fri Jun 5 19:07:30 CEST 2020


Signed-off-by: Olivier Dion <dion at linutronix.de>
Reviewed-by: Torben Hohn <torben.hohn at linutronix.de>
---
 debian/python-elbe-buildenv.install  |  1 -
 debian/python3-elbe-buildenv.install |  1 -
 elbepack/asciidoclog.py              | 55 ----------------------------
 3 files changed, 57 deletions(-)
 delete mode 100644 elbepack/asciidoclog.py

diff --git a/debian/python-elbe-buildenv.install b/debian/python-elbe-buildenv.install
index c1abef72..57abe2d9 100644
--- a/debian/python-elbe-buildenv.install
+++ b/debian/python-elbe-buildenv.install
@@ -22,7 +22,6 @@
 ./usr/lib/python2.*/*-packages/elbepack/junit.py
 ./usr/lib/python2.*/*-packages/elbepack/rfs.py
 ./usr/lib/python2.*/*-packages/elbepack/aptpkgutils.py
-./usr/lib/python2.*/*-packages/elbepack/asciidoclog.py
 ./usr/lib/python2.*/*-packages/elbepack/cdroms.py
 ./usr/lib/python2.*/*-packages/elbepack/debianreleases.py
 ./usr/lib/python2.*/*-packages/elbepack/debpkg.py
diff --git a/debian/python3-elbe-buildenv.install b/debian/python3-elbe-buildenv.install
index aba392b0..d6e8dbc4 100644
--- a/debian/python3-elbe-buildenv.install
+++ b/debian/python3-elbe-buildenv.install
@@ -22,7 +22,6 @@
 ./usr/lib/python3.*/*-packages/elbepack/junit.py
 ./usr/lib/python3.*/*-packages/elbepack/rfs.py
 ./usr/lib/python3.*/*-packages/elbepack/aptpkgutils.py
-./usr/lib/python3.*/*-packages/elbepack/asciidoclog.py
 ./usr/lib/python3.*/*-packages/elbepack/cdroms.py
 ./usr/lib/python3.*/*-packages/elbepack/debianreleases.py
 ./usr/lib/python3.*/*-packages/elbepack/debpkg.py
diff --git a/elbepack/asciidoclog.py b/elbepack/asciidoclog.py
deleted file mode 100644
index 7634c963..00000000
--- a/elbepack/asciidoclog.py
+++ /dev/null
@@ -1,55 +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, CommandError
-
-class LogBase(object):
-    def __init__(self, *args, **kwargs):
-        pass
-
-    def printo(self, text=""):
-        logging.info(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.27.0




More information about the elbe-devel mailing list