zephyr/scripts/dts/extract
Ulf Magnusson 1467480491 scripts: dts: Replace bare 'except's in old scripts
A bare 'except:' can do some annoying stuff like eat Ctrl-C (because it
catches KeyboardInterrupt). Better to use 'except Exception:' as a
catch-all.

Even better might be to catch some more specific exception, because even
'except Exception:' eats stuff like misspelled identifiers.

Fixes this pylint warning:

    W0702: No exception type(s) specified (bare-except)

Fixing pylint warnings for a CI check.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2019-09-07 10:25:02 -05:00
..
__init__.py scripts: extract_dts_includes.py: factorize globals for module usage 2018-03-26 14:48:49 -04:00
clocks.py scripts: dts: Remove unused variable in old scripts 2019-09-07 10:25:02 -05:00
compatible.py dts: Make instance defines consistent 2019-07-30 17:10:31 -05:00
default.py scripts: dts: Fix misc. pylint warnings in old scripts 2019-09-07 10:25:02 -05:00
directive.py scripts/dts: Add deprecation comments to old scripts 2019-07-29 16:22:17 -04:00
flash.py scripts: dts: Fix misc. pylint warnings in old scripts 2019-09-07 10:25:02 -05:00
globals.py scripts: dts: Replace bare 'except's in old scripts 2019-09-07 10:25:02 -05:00
interrupts.py scripts/dts/gen_defines.py: Ignore varions base properties 2019-09-07 10:25:02 -05:00
reg.py scripts: dts: Replace bare 'except's in old scripts 2019-09-07 10:25:02 -05:00