Add some fixes to hdlmake.module package

parent 1b5fe17c
"""Package providing the Module functionality to HDLMake""" """Package providing the Module functionality to HDLMake"""
from .core import ModuleCore
from .content import ModuleContent
from .module import Module, ModuleArgs from .module import Module, ModuleArgs
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
from files to required submodules""" from files to required submodules"""
import logging import logging
from .core import ModuleCore
from hdlmake import fetch from hdlmake import fetch
from hdlmake.util import path as path_mod from hdlmake.util import path as path_mod
from .core import ModuleCore
class ModuleContent(ModuleCore): class ModuleContent(ModuleCore):
......
...@@ -33,7 +33,7 @@ import logging ...@@ -33,7 +33,7 @@ import logging
from hdlmake.util import path as path_mod from hdlmake.util import path as path_mod
from hdlmake.manifest_parser import ManifestParser from hdlmake.manifest_parser import ManifestParser
from hdlmake.module import ModuleContent from .content import ModuleContent
class ModuleArgs(object): class ModuleArgs(object):
...@@ -150,7 +150,7 @@ class Module(ModuleContent): ...@@ -150,7 +150,7 @@ class Module(ModuleContent):
self.path, dir_) self.path, dir_)
if not os.path.exists(dir_): if not os.path.exists(dir_):
logging.warning(self.path + logging.warning(self.path +
" has an unexisting include directory: " + dir_) " has an unexisting include directory: " + dir_)
return include_dirs return include_dirs
def parse_manifest(self): def parse_manifest(self):
......
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