From: whitequark Date: Fri, 14 Dec 2018 12:59:54 +0000 (+0000) Subject: fhdl.ir: oops, we defined DomainError twice. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=11aa95312b12965efa4b8e9d2ce5633cd28d038c;p=nmigen.git fhdl.ir: oops, we defined DomainError twice. --- diff --git a/nmigen/fhdl/ir.py b/nmigen/fhdl/ir.py index 519f69b..7004925 100644 --- a/nmigen/fhdl/ir.py +++ b/nmigen/fhdl/ir.py @@ -5,11 +5,7 @@ from .ast import * from .cd import * -__all__ = ["Fragment", "DomainError"] - - -class DomainError(Exception): - pass +__all__ = ["Fragment"] class Fragment: diff --git a/nmigen/fhdl/xfrm.py b/nmigen/fhdl/xfrm.py index 9c99cce..bbfe5cf 100644 --- a/nmigen/fhdl/xfrm.py +++ b/nmigen/fhdl/xfrm.py @@ -3,6 +3,7 @@ from collections import OrderedDict, Iterable from ..tools import flatten from .ast import * from .ast import _StatementList +from .cd import * from .ir import *