mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Merge commit 'bc0f7ae4f6'
This commit is contained in:
commit
ba99bc5528
1 changed files with 2 additions and 1 deletions
|
|
@ -92,7 +92,8 @@ def copy(path, source, destination, destination_path=None, overwrite=False):
|
|||
elif os.path.isfile(source_):
|
||||
shutil.copy(source_, destination_)
|
||||
logger.info('copying %s to %s' % (source_, destination_))
|
||||
|
||||
else:
|
||||
logger.warning('skipped copy %s to %s' % (source_, destination_))
|
||||
|
||||
def clean_output_dir(path):
|
||||
"""Remove all the files from the output directory"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue