mirror of
https://github.com/esphome/esphome.git
synced 2026-10-04 02:05:59 +00:00
Trim comment
This commit is contained in:
@@ -582,9 +582,8 @@ def _make_registry_client() -> Any:
|
|||||||
def __init__(self) -> None:
|
def __init__(self) -> None:
|
||||||
self.pkg_type = "library"
|
self.pkg_type = "library"
|
||||||
self._registry_client = RegistryClient()
|
self._registry_client = RegistryClient()
|
||||||
# PlatformIO's account probe sleeps ~500 ms per lookup (see
|
# The probe sleeps ~500 ms per lookup (see runner.patch_registry_private_packages);
|
||||||
# runner.patch_registry_private_packages); override it on our own
|
# instance-level so the ESPHome process never patches PlatformIO's class
|
||||||
# instance so the ESPHome process never patches PlatformIO's class
|
|
||||||
self._registry_client.allowed_private_packages = lambda: False
|
self._registry_client.allowed_private_packages = lambda: False
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
|||||||
Reference in New Issue
Block a user