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 AA9F11391DB for ; Sat, 22 Mar 2014 22:25:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8D336E0D00; Sat, 22 Mar 2014 22:25:22 +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 D4449E0D00 for ; Sat, 22 Mar 2014 22:25:21 +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 05DF233FBBC for ; Sat, 22 Mar 2014 22:25:21 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id 73E9C188F4 for ; Sat, 22 Mar 2014 22:25:18 +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: <1395511290.a17349d30b9b94d12463be700558f6c5379c312f.dol-sen@gentoo> Subject: [gentoo-commits] proj/catalyst:pending 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: a17349d30b9b94d12463be700558f6c5379c312f X-VCS-Branch: pending Date: Sat, 22 Mar 2014 22:25:18 +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: 400f7571-5f8d-493b-a791-7f9dcced2541 X-Archives-Hash: 33e3c9e5fee9ed4765d03140e1feb194 commit: a17349d30b9b94d12463be700558f6c5379c312f Author: Brian Dolbec gentoo org> AuthorDate: Fri Jan 3 18:48:31 2014 +0000 Commit: Brian Dolbec gmail com> CommitDate: Sat Mar 22 18:01:30 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/catalyst.git;a=commit;h=a17349d3 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