Refactor the inheritance hierarchy in the manifest parser class

parent b3d2e969
"""Python Package providing the Manifest.py parser for HDLMake""" """Python Package providing the Manifest.py parser for HDLMake"""
from .manifest_parser import ManifestParser from .variables import ManifestParser
...@@ -34,8 +34,7 @@ class ManifestParser(ConfigParser): ...@@ -34,8 +34,7 @@ class ManifestParser(ConfigParser):
"""This is the class providing HDLMake Manifest parser capabilities""" """This is the class providing HDLMake Manifest parser capabilities"""
def __init__(self): def __init__(self):
ConfigParser.__init__( super(ManifestParser, self).__init__(
self,
description="Configuration options description") description="Configuration options description")
general_options = [ general_options = [
{'name': 'top_module', {'name': 'top_module',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment