Closed bergercookie closed 3 years ago
@ruffsl, @lelongg friendly ping :)
Could you guys (or anyone else interested) give me some feedback for my open PRs?
See also: https://github.com/colcon/colcon-cargo/pull/8, https://github.com/colcon/colcon-cargo/pull/9
@bergercookie thanks!
Currently in
extract_data
iftoml.load
fails data is unset. Hence subsequent calls to data['name'] will fail. The correct approach is to return immediately in such cases.Also TomlDecodeError may be triggered due to
toml.load
, so that's the only directive that must be wrapped in atry-except
statement.