From 03836b00aeddca2fd73f078d7850dc58be632466 Mon Sep 17 00:00:00 2001 From: Patrick Lehmann Date: Sun, 12 Dec 2021 14:35:51 +0100 Subject: Changed export decorator from pydecor to pyTooling.Decorators --- pyGHDL/cli/dom.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'pyGHDL/cli/dom.py') diff --git a/pyGHDL/cli/dom.py b/pyGHDL/cli/dom.py index 99f59c277..f1f860226 100755 --- a/pyGHDL/cli/dom.py +++ b/pyGHDL/cli/dom.py @@ -40,8 +40,9 @@ from textwrap import wrap, dedent from pyGHDL.dom import DOMException from pyGHDL.libghdl import LibGHDLException -from pydecor import export -from pyMetaClasses import Singleton +from pyTooling.Decorators import export +from pyTooling.MetaClasses import Singleton +from pyTooling.TerminalUI import LineTerminal, Severity from pyAttributes import Attribute from pyAttributes.ArgParseAttributes import ( ArgParseMixin, @@ -51,7 +52,6 @@ from pyAttributes.ArgParseAttributes import ( ArgumentAttribute, SwitchArgumentAttribute, ) -from pyTerminalUI import LineTerminal, Severity from pyGHDL import GHDLBaseException from pyGHDL.dom.NonStandard import Design, Document @@ -64,8 +64,7 @@ __email__ = "" __version__ = "0.0.0" __status__ = "Alpha" __license__ = "" -__all__ = [] -__api__ = __all__ + class SourceAttribute(Attribute): -- cgit v1.2.3 From e88ad9e4a10a60679b10a285029e05b0184eeef0 Mon Sep 17 00:00:00 2001 From: Patrick Lehmann Date: Sun, 12 Dec 2021 14:56:55 +0100 Subject: Adjusted configure script. --- pyGHDL/cli/dom.py | 1 - 1 file changed, 1 deletion(-) (limited to 'pyGHDL/cli/dom.py') diff --git a/pyGHDL/cli/dom.py b/pyGHDL/cli/dom.py index f1f860226..6ba5894fe 100755 --- a/pyGHDL/cli/dom.py +++ b/pyGHDL/cli/dom.py @@ -66,7 +66,6 @@ __status__ = "Alpha" __license__ = "" - class SourceAttribute(Attribute): def __call__(self, func): self._AppendAttribute( -- cgit v1.2.3