Skip to content

Commit

Permalink
Merge pull request #4 from LedgerHQ/list
Browse files Browse the repository at this point in the history
[update] Output devices as list rather than set
  • Loading branch information
lpascal-ledger authored Oct 19, 2023
2 parents 94a875f + 40ecb6c commit 6ddb513
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.2.0] - 2023-10-19

### Changed

- ledger-manifest: devices are output as a list "[...]" rather than a set "{...}" for easier
reusability.


## [0.1.0] - 2023-10-17

### Added
Expand Down
2 changes: 1 addition & 1 deletion src/ledgered/utils/manifest.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ def main(): # pragma: no cover
if args.output_sdk:
display_content["sdk"] = repo_manifest.app.sdk
if args.output_devices:
display_content["devices"] = repo_manifest.app.devices
display_content["devices"] = list(repo_manifest.app.devices)
if args.output_unit_directory:
if repo_manifest.tests is None or repo_manifest.test.unit_directory is None:
logging.error("This manifest does not contains the 'tests.unit_directory' field")
Expand Down

0 comments on commit 6ddb513

Please sign in to comment.