From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9702F138331 for ; Mon, 19 Sep 2016 03:27:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EA58CE0962; Mon, 19 Sep 2016 03:27:51 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7CAD5E0962 for ; Mon, 19 Sep 2016 03:27:51 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0AA0A340B6A for ; Mon, 19 Sep 2016 03:27:50 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EDA282489 for ; Mon, 19 Sep 2016 03:27:47 +0000 (UTC) From: "Brian Dolbec" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Brian Dolbec" Message-ID: <1474255634.6b4f6861ad9847fe5c1be5c60167578f2404e11d.dolsen@gentoo> Subject: [gentoo-commits] proj/catalyst:master commit in: catalyst/base/ X-VCS-Repository: proj/catalyst X-VCS-Files: catalyst/base/stagebase.py X-VCS-Directories: catalyst/base/ X-VCS-Committer: dolsen X-VCS-Committer-Name: Brian Dolbec X-VCS-Revision: 6b4f6861ad9847fe5c1be5c60167578f2404e11d X-VCS-Branch: master Date: Mon, 19 Sep 2016 03:27:47 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: a007f7ed-1f8e-4cc0-80ef-12033c6d740d X-Archives-Hash: d2efcd7949ea80d1981aab56ee894bfb commit: 6b4f6861ad9847fe5c1be5c60167578f2404e11d Author: Brian Dolbec gentoo org> AuthorDate: Mon Sep 19 03:27:14 2016 +0000 Commit: Brian Dolbec gentoo org> CommitDate: Mon Sep 19 03:27:14 2016 +0000 URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=6b4f6861 base/stagebase.py: Add 2 more debug logs for arch loading modules. catalyst/base/stagebase.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/catalyst/base/stagebase.py b/catalyst/base/stagebase.py index 904103f..68ccb79 100644 --- a/catalyst/base/stagebase.py +++ b/catalyst/base/stagebase.py @@ -74,6 +74,7 @@ class StageBase(TargetBase, ClearBase, GenBase): machinemap = {} arch_dir = self.settings["archdir"] + "/" 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...") try: fh=open(arch_dir + x + ".py") # This next line loads the plugin as a module and assigns it to @@ -94,6 +95,7 @@ class StageBase(TargetBase, ClearBase, GenBase): # the dir should load just fine. If it doesn't, it's probably a # syntax error in the module log.warning("Can't find/load %s.py plugin in %s", x, arch_dir) + log.debug("Loaded arch module: %s", self.archmap[x]) if "chost" in self.settings: hostmachine = self.settings["chost"].split("-")[0]