From 5d081a40d512e113a44670317aad941a3ae09555 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Fri, 29 Sep 2023 15:20:56 -0400 Subject: [PATCH] Port to new `parse_maddr()` name --- piker/cli/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/piker/cli/__init__.py b/piker/cli/__init__.py index 0472b162..b56defb3 100644 --- a/piker/cli/__init__.py +++ b/piker/cli/__init__.py @@ -114,7 +114,7 @@ def pikerd( )] from .. import service - from tractor._multiaddr import parse_addr + from tractor._multiaddr import parse_maddr # transport-oriented endpoint multi-addresses eps: dict[ @@ -141,7 +141,7 @@ def pikerd( case 'pikerd': dname: str = key for maddr in maddrs: - layers: dict = parse_addr(maddr) + layers: dict = parse_maddr(maddr) eps.setdefault( dname, [], @@ -149,7 +149,7 @@ def pikerd( else: # presume user is manually specifying the root actor ep. - eps['pikerd'] = [parse_addr(maddr)] + eps['pikerd'] = [parse_maddr(maddr)] regaddrs: list[tuple[str, int]] = [] for layers in eps['pikerd']: