From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 520221381FA for ; Mon, 5 May 2014 19:17:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DCBC6E0B12; Mon, 5 May 2014 19:17:45 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4781CE0B12 for ; Mon, 5 May 2014 19:17:45 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 75DAA3402FB for ; Mon, 5 May 2014 19:17:44 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id AB14718745 for ; Mon, 5 May 2014 19:17:42 +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: <1396469063.876edf3306f3d1c739f60199bef6082e4ac96459.dol-sen@gentoo> Subject: [gentoo-commits] proj/catalyst:master commit in: catalyst/ X-VCS-Repository: proj/catalyst X-VCS-Files: catalyst/main.py X-VCS-Directories: catalyst/ X-VCS-Committer: dol-sen X-VCS-Committer-Name: Brian Dolbec X-VCS-Revision: 876edf3306f3d1c739f60199bef6082e4ac96459 X-VCS-Branch: master Date: Mon, 5 May 2014 19:17:42 +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: 995cc4a9-5303-4ecd-a90f-968565aeea43 X-Archives-Hash: c51385699adc357d0b1f1eab82b31d84 Message-ID: <20140505191742.HKY4iq1UXTNbpAWkSvq2i8WQP69Q7N4FgBEFhqrV3_M@z> commit: 876edf3306f3d1c739f60199bef6082e4ac96459 Author: Brian Dolbec gentoo org> AuthorDate: Fri Jan 3 18:48:31 2014 +0000 Commit: Brian Dolbec gmail com> CommitDate: Wed Apr 2 20:04:23 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/catalyst.git;a=commit;h=876edf33 main.py: print the output of an ImportError to help in debugging. --- catalyst/main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/catalyst/main.py b/catalyst/main.py index 4146bca..bba3cba 100644 --- a/catalyst/main.py +++ b/catalyst/main.py @@ -227,9 +227,10 @@ def import_modules(): raise CatalystError,"Can't find " + x + ".py plugin in " + \ module_dir - except ImportError: + except ImportError as e: print "!!! catalyst: Python modules not found in "+\ module_dir + "; exiting." + print e sys.exit(1) return targetmap