diff --git a/tools/clean.py b/tools/clean.py index c41a51f62..f7b167e6e 100755 --- a/tools/clean.py +++ b/tools/clean.py @@ -71,7 +71,7 @@ def clean(): try: shutil.rmtree(p) print(p) - except Exception as e: + except Exception: try: os.remove(p) print(p)