From 903211371ec1ea6354f3aff0ccb09baf3ed6d33a Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado Date: Tue, 27 Dec 2022 02:14:36 -0600 Subject: remove unnecessary variables for page object removed some of the unnecessary variables for dates on the page object, as well as from the mandatory config --- src/pyssg/utils.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/pyssg/utils.py') diff --git a/src/pyssg/utils.py b/src/pyssg/utils.py index e63ee08..8300a5c 100644 --- a/src/pyssg/utils.py +++ b/src/pyssg/utils.py @@ -12,9 +12,7 @@ def get_file_list(path: str, exts: tuple[str], exclude_dirs: list[str] = []) -> list[str]: log.debug('retrieving file list in path "%s" that contain file' - ' extensions (%s) except directories (%s)', - path, ', '.join(exts), - ', '.join(exclude_dirs)) + ' extensions %s except directories %s', path, exts, exclude_dirs) file_list: list[str] = [] for root, dirs, files in os.walk(path): if exclude_dirs != []: @@ -29,7 +27,7 @@ def get_file_list(path: str, file, path, file_name) else: log.debug('ignoring file "%s" as it doesn\'t contain' - ' any of the extensions (%s)', file, ', '.join(exts)) + ' any of the extensions %s', file, exts) return file_list -- cgit v1.2.3-54-g00ecf