diff options
author | Matt Turner <mattst88@gentoo.org> | 2019-10-19 16:11:07 -0700 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2019-10-19 16:11:07 -0700 |
commit | f06836c23696fb6eb4bcae3b343129e2d4b4d1ac (patch) | |
tree | 1ef09d8fbfcbd9666d5496f2b8fe8ddbb9d895dc | |
parent | Demote warning about missing/failed unmounts to 'notice' (diff) | |
download | catalyst-f06836c23696fb6eb4bcae3b343129e2d4b4d1ac.tar.gz catalyst-f06836c23696fb6eb4bcae3b343129e2d4b4d1ac.tar.bz2 catalyst-f06836c23696fb6eb4bcae3b343129e2d4b4d1ac.zip |
Improve debugging messages
- Move start message out of loop
- Print loaded module name in the loop
Signed-off-by: Matt Turner <mattst88@gentoo.org>
-rw-r--r-- | catalyst/base/stagebase.py | 3 |
1 files changed, 2 insertions, 1 deletions
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 |