From 4870b95fa9d344d725fb6bf5d7bc5b670f8df1b5 Mon Sep 17 00:00:00 2001 From: jan Date: Wed, 30 Mar 2022 23:58:20 -0700 Subject: [PATCH] net_aliases is just a dict --- snarl/tracker.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/snarl/tracker.py b/snarl/tracker.py index ca4c27d..ec269ac 100644 --- a/snarl/tracker.py +++ b/snarl/tracker.py @@ -39,11 +39,11 @@ class NetName: class NetsInfo: nets: defaultdict[NetName, defaultdict[layer_t, List]] - net_aliases: defaultdict[NetName, NetName] + net_aliases: Dict[NetName, NetName] def __init__(self) -> None: self.nets = defaultdict(lambda: defaultdict(list)) - self.net_aliases = defaultdict(list) + self.net_aliases = {} def resolve_name(self, net_name: NetName) -> NetName: while net_name in self.net_aliases: