summaryrefslogtreecommitdiff
path: root/src/pyssg/utils.py
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <david@luevano.xyz>2022-12-27 02:14:36 -0600
committerDavid Luevano Alvarado <david@luevano.xyz>2022-12-27 02:14:36 -0600
commit903211371ec1ea6354f3aff0ccb09baf3ed6d33a (patch)
tree9658cd4f9b15ef8852add3bb818fedd2d9e6516d /src/pyssg/utils.py
parent6ec12d94c1b25883e3588afcadd686d3dc157675 (diff)
remove unnecessary variables for page objectv0.8.2
removed some of the unnecessary variables for dates on the page object, as well as from the mandatory config
Diffstat (limited to 'src/pyssg/utils.py')
-rw-r--r--src/pyssg/utils.py6
1 files changed, 2 insertions, 4 deletions
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