summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorMarcel Admiraal <madmiraal@users.noreply.github.com>2020-12-12 10:05:42 +0000
committerMarcel Admiraal <madmiraal@users.noreply.github.com>2020-12-12 10:05:42 +0000
commit8ef5e3201c2dfbcdd80190691427300dc35428be (patch)
tree7506b771c84ae2c4015ae735d4d82855b3048101 /SConstruct
parentd62dcb6b015918a6ddbba2e17f6d698f0ac6850e (diff)
Don't handle BaseException in build scripts
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct4
1 files changed, 2 insertions, 2 deletions
diff --git a/SConstruct b/SConstruct
index 10f961cff8..6aeb79e483 100644
--- a/SConstruct
+++ b/SConstruct
@@ -530,13 +530,13 @@ if selected_platform in platform_list:
doc_path = config.get_doc_path()
for c in doc_classes:
env.doc_class_path[c] = path + "/" + doc_path
- except:
+ except Exception:
pass
# Get icon paths (if present)
try:
icons_path = config.get_icons_path()
env.module_icons_paths.append(path + "/" + icons_path)
- except:
+ except Exception:
# Default path for module icons
env.module_icons_paths.append(path + "/" + "icons")
modules_enabled[name] = path