Cleanup: replace implicit BaseException with Exception

Exception is more appropriate as a general exception in these cases.
This commit is contained in:
Campbell Barton
2024-10-08 09:41:51 +11:00
parent e7e477f2b3
commit 1a1e75c253
10 changed files with 23 additions and 23 deletions

View File

@@ -2537,7 +2537,7 @@ def main():
try:
os.mkdir(SPHINX_IN_TMP)
except:
except Exception:
pass
# Copy extra files needed for theme.