[elbe-devel] [PATCH 1/1] Remove asciidoclog.py from elbepack
Olivier Dion
dion at linutronix.de
Wed Oct 2 01:19:23 CEST 2019
From: Olivier Dion <olivier.dion at polymtl.ca>
Forgot about this one after the logging patch.
Signed-off-by: Olivier Dion <dion 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 c1abef72c..57abe2d90 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 aba392b08..d6e8dbc43 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 7634c9631..000000000
--- 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.23.0
More information about the elbe-devel
mailing list