From ecc369c2f8facbc1a783e9f873063b0aa86f3ade Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Thu, 13 Aug 2020 20:19:27 +0300 Subject: [PATCH] Minor fixes --- platformio/commands/system/command.py | 8 +++++--- tests/package/test_manifest.py | 3 ++- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/platformio/commands/system/command.py b/platformio/commands/system/command.py index af4071e0..76d2cb36 100644 --- a/platformio/commands/system/command.py +++ b/platformio/commands/system/command.py @@ -26,9 +26,9 @@ from platformio.commands.system.completion import ( install_completion_code, uninstall_completion_code, ) -from platformio.managers.package import PackageManager from platformio.managers.platform import PlatformManager from platformio.package.manager.library import LibraryPackageManager +from platformio.package.manager.tool import ToolPackageManager from platformio.project.config import ProjectConfig @@ -80,9 +80,11 @@ def system_info(json_output): "value": len(PlatformManager().get_installed()), } data["package_tool_nums"] = { - "title": "Package Tools", + "title": "Tools & Toolchains", "value": len( - PackageManager(project_config.get_optional_dir("packages")).get_installed() + ToolPackageManager( + project_config.get_optional_dir("packages") + ).get_installed() ), } diff --git a/tests/package/test_manifest.py b/tests/package/test_manifest.py index 899f1cdf..35fdf367 100644 --- a/tests/package/test_manifest.py +++ b/tests/package/test_manifest.py @@ -485,7 +485,7 @@ depends=First Library (=2.0.0), Second Library (>=1.2.0), Third contents = """ name=Mozzi version=1.0.3 -author=Tim Barrass and contributors as documented in source, and at https://github.com/sensorium/Mozzi/graphs/contributors +author=Lorem Ipsum is simply dummy text of the printing and typesetting industry Lorem Ipsum has been the industry's standard dummy text ever since the 1500s when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries but also the leap into electronic typesetting remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. maintainer=Tim Barrass sentence=Sound synthesis library for Arduino paragraph=With Mozzi, you can construct sounds using familiar synthesis units like oscillators, delays, filters and envelopes. @@ -504,6 +504,7 @@ includes=MozziGuts.h ), ).as_dict() + errors = None try: ManifestSchema().load_manifest(raw_data) except ManifestValidationError as e: