Add a warning to list-mods for each of the modules that have not been fetched

parent fda7e391
......@@ -21,6 +21,8 @@
from __future__ import absolute_import
import logging
from hdlmake.util import path
import hdlmake.fetch as fetch
......@@ -42,6 +44,7 @@ class ListModules(Action):
def run(self):
for m in self.modules_pool:
if not m.isfetched:
logging.warning("Module not fetched: %s" % m.url)
if not self.options.terse: print("# MODULE UNFETCHED! -> %s" % m.url)
if not self.options.terse: print("# MODULE START -> %s" % m.url)
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