From ef0002bf623817c727186b8e260010c8d6f59f41 Mon Sep 17 00:00:00 2001 From: debianpepper Date: Mon, 11 Sep 2023 20:53:23 +0900 Subject: [PATCH] Took out terminal size Signed-off-by: debianpepper --- python_modules/infra.py | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/python_modules/infra.py b/python_modules/infra.py index b043a6d1..15b2cbff 100644 --- a/python_modules/infra.py +++ b/python_modules/infra.py @@ -22,7 +22,6 @@ WPCHROOT = "/fusato/config/includes.chroot" BINARYPTH = "/fusato/config/includes.binary" BOOTSTRAP = "/fusato/config/includes.bootstrap" FUSATOCONFIG = "/fusato/config" -term_size = os.get_terminal_size().columns # Set up the logging format logger = logging.getLogger() @@ -37,9 +36,7 @@ class ChrootFolders: the architecture it will, copy folders as needed """ def __init__(self,sbase,sarch): - print('=' * term_size.columns) logger.info("Copy Chroot") - print('=' * term_size.columns) self.sbase = sbase self.sarch = sarch src_chroot = ('/osrelease/' + self.sbase + self.sarch, @@ -77,9 +74,9 @@ class BinaryFolders: the architecture it will, copy folders as needed """ def __init__(self, sbase, sarch): - print('=' * term_size.columns) + logger.info("Copy Binary") - print('=' * term_size.columns) + self.sbase = sbase self.sarch = sarch src_binary = ('/splash/' + self.sbase + self.sarch + '/boot', @@ -115,9 +112,9 @@ class ArchitectureFiles: architecture it will, copy files as needed """ def __init__(self, sbase, sarch): - print('=' * term_size.columns) + logger.info("Copy Architecture") - print('=' * term_size.columns) + self.sbase = sbase self.sarch = sarch calamares_path = '/calamares_settings/'