commit:     f06836c23696fb6eb4bcae3b343129e2d4b4d1ac
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 19 23:11:07 2019 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sat Oct 19 23:11:07 2019 +0000
URL:        https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=f06836c2

Improve debugging messages

- Move start message out of loop
- Print loaded module name in the loop

Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 catalyst/base/stagebase.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/catalyst/base/stagebase.py b/catalyst/base/stagebase.py
index c68c278d..2ad53381 100644
--- a/catalyst/base/stagebase.py
+++ b/catalyst/base/stagebase.py
@@ -75,10 +75,11 @@ class StageBase(TargetBase, ClearBase, GenBase):
                self.subarchmap = {}
                machinemap = {}
                arch_dir = self.settings["archdir"] + "/"
+               log.debug("Begin loading arch modules...")
                for x in [
                                        x[:-3] for x in os.listdir(arch_dir) if 
x.endswith(".py")
                                        and x != "__init__.py"]:
-                       log.debug("Begin loading arch modules...")
+                       log.debug("\tLoading %s", x)
                        try:
                                fh = open(arch_dir + x + ".py")
                                # This next line loads the plugin as a module 
and

Reply via email to