mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
remove 'except as' for python 2.5 compat
This commit is contained in:
parent
fabc1f346e
commit
7b4d5e8317
1 changed files with 1 additions and 1 deletions
|
|
@ -62,7 +62,7 @@ def clean_output_dir(path):
|
||||||
# remove all the existing content from the output folder
|
# remove all the existing content from the output folder
|
||||||
try:
|
try:
|
||||||
shutil.rmtree(path)
|
shutil.rmtree(path)
|
||||||
except Exception as e:
|
except Exception:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue