Cleanup: replace implicit BaseException with Exception
Exception is more appropriate as a general exception in these cases.
This commit is contained in:
@@ -2537,7 +2537,7 @@ def main():
|
||||
|
||||
try:
|
||||
os.mkdir(SPHINX_IN_TMP)
|
||||
except:
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
# Copy extra files needed for theme.
|
||||
|
||||
Reference in New Issue
Block a user