From 803fd15c30979680efceb586c23ca453de469486 Mon Sep 17 00:00:00 2001 From: Justin Mayer Date: Sun, 29 Oct 2023 21:52:03 +0100 Subject: [PATCH] Fix style non-conformance caused by merge --- pelican/utils.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pelican/utils.py b/pelican/utils.py index 7ee60988..08a08f7e 100644 --- a/pelican/utils.py +++ b/pelican/utils.py @@ -294,7 +294,7 @@ def copy(source, destination, ignores=None): if not os.path.exists(dst_dir): logger.info("Creating directory %s", dst_dir) os.makedirs(dst_dir) - logger.info('Copying %s to %s', source_, destination_) + logger.info("Copying %s to %s", source_, destination_) copy_file(source_, destination_) elif os.path.isdir(source_): @@ -326,7 +326,7 @@ def copy(source, destination, ignores=None): src_path = os.path.join(src_dir, o) dst_path = os.path.join(dst_dir, o) if os.path.isfile(src_path): - logger.info('Copying %s to %s', src_path, dst_path) + logger.info("Copying %s to %s", src_path, dst_path) copy_file(src_path, dst_path) else: logger.warning( @@ -337,7 +337,7 @@ def copy(source, destination, ignores=None): def copy_file(source, destination): - '''Copy a file''' + """Copy a file""" try: shutil.copyfile(source, destination) except OSError as e: