From 7b4d5e83175663d24c03f3f5df9b66924e95f3d8 Mon Sep 17 00:00:00 2001 From: Alexis Metaireau Date: Fri, 18 Feb 2011 13:34:26 +0000 Subject: [PATCH] remove 'except as' for python 2.5 compat --- pelican/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pelican/utils.py b/pelican/utils.py index 5a7fbaaf..4fe9820f 100644 --- a/pelican/utils.py +++ b/pelican/utils.py @@ -62,7 +62,7 @@ def clean_output_dir(path): # remove all the existing content from the output folder try: shutil.rmtree(path) - except Exception as e: + except Exception: pass