From: whitequark Date: Fri, 14 Dec 2018 12:59:54 +0000 (+0000) Subject: fhdl.ir: oops, we defined DomainError twice. X-Git-Tag: working~269 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=151d079f01447ec8cde0171a98797638c0812985;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 *