Updated: Linting corrections

Signed-off-by: debianpepper <pdpdebdevuan@protonmail.com>
This commit is contained in:
debianpepper 2023-10-01 12:26:08 +09:00
parent 120228a13a
commit fc094f340f
1 changed files with 10 additions and 5 deletions

View File

@ -32,6 +32,7 @@ logger.addHandler(handler)
logger.setLevel(logging.DEBUG)
# Common Logging Messages
WRKING_DIR = "Current working directory"
CFG_TREE_READY = "Config tree ready!"
CFG_READY = "Configs in place start the ISO build process"
START_LIVEBUILD = "Start Live-Build Process"
@ -122,6 +123,7 @@ class BuildXfce:
def cleanup_helper(self):
""" Clean up Helper to move the ISOs to the nightly location """
if self.sbase == "deb":
finish_cleanup.make_check_sum()
finish_cleanup.copy_debian_xfce_based()
@ -131,10 +133,11 @@ class BuildXfce:
finish_cleanup.copy_devuan_xfce_based()
finish_cleanup.kill_old_iso()
def build_system(self):
""" Builds the ISO XFCE Depedning on the Arch """
current_working_directory = os.getcwd()
dir_current = "Current working directory" + current_working_directory
dir_current = WRKING_DIR + current_working_directory
logger.info("Building a " + self.sbase + self.sarch[1:] + " bit ISO")
logger.info(dir_current)
# Set the config tree
@ -245,6 +248,7 @@ class BuildGflashback:
def cleanup_helper(self):
""" Clean up Helper to move the ISOs to the nightly location """
if self.sbase == "deb":
finish_cleanup.make_check_sum()
finish_cleanup.copy_debian_gfb_based()
@ -254,10 +258,11 @@ class BuildGflashback:
finish_cleanup.copy_devuan_gfb_based()
finish_cleanup.kill_old_iso()
def build_system(self):
""" Builds the ISO GFB Depedning on the Arch """
current_working_directory = os.getcwd()
dir_current = "Current working directory" + current_working_directory
dir_current = WRKING_DIR + current_working_directory
logger.info("Building a " + self.sbase + self.sarch[1:] + " bit ISO")
logger.info(dir_current)
# Set the config tree