aboutsummaryrefslogtreecommitdiffstats
path: root/pyGHDL
diff options
context:
space:
mode:
authorPatrick Lehmann <Patrick.Lehmann@plc2.de>2022-05-17 07:28:35 +0200
committerPatrick Lehmann <Patrick.Lehmann@plc2.de>2022-06-18 01:32:16 +0200
commite35bc1bd8b4a60e5a3c18aeb5e8747a123c5a13b (patch)
tree3e114a8ed5087950b827577094411e69aefe7d1b /pyGHDL
parent545eab84eb8c3c6ea78c948251f0eb4245760f95 (diff)
downloadghdl-e35bc1bd8b4a60e5a3c18aeb5e8747a123c5a13b.tar.gz
ghdl-e35bc1bd8b4a60e5a3c18aeb5e8747a123c5a13b.tar.bz2
ghdl-e35bc1bd8b4a60e5a3c18aeb5e8747a123c5a13b.zip
Workaround for Application class.
Diffstat (limited to 'pyGHDL')
-rwxr-xr-xpyGHDL/cli/dom.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/pyGHDL/cli/dom.py b/pyGHDL/cli/dom.py
index 1ec168842..2443beb54 100755
--- a/pyGHDL/cli/dom.py
+++ b/pyGHDL/cli/dom.py
@@ -41,7 +41,7 @@ from pyGHDL.dom import DOMException
from pyGHDL.libghdl import LibGHDLException
from pyTooling.Decorators import export
-from pyTooling.MetaClasses import Singleton
+from pyTooling.MetaClasses import ExtendedType
from pyTooling.TerminalUI import LineTerminal, Severity
from pyAttributes import Attribute
from pyAttributes.ArgParseAttributes import (
@@ -118,10 +118,6 @@ class Application(LineTerminal, ArgParseMixin):
def __init__(self, debug=False, verbose=False, quiet=False, sphinx=False):
super().__init__(verbose, debug, quiet)
- # Initialize the Terminal class
- # --------------------------------------------------------------------------
- Singleton.Register(LineTerminal, self)
-
# Initialize DOM with an empty design
# --------------------------------------------------------------------------
self._design = Design()
@@ -347,7 +343,7 @@ def main(): # mccabe:disable=MC0001
try:
# handover to a class instance
- app = Application(debug, verbose, quiet)
+ app = Application() #debug, verbose, quiet)
app.Run()
app.exit()
except PrettyPrintException as ex: