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 9B92B138202 for ; Wed, 28 Nov 2012 04:02:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 05DBE21C001; Wed, 28 Nov 2012 04:02:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 789DD21C001 for ; Wed, 28 Nov 2012 04:02:10 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6790D33D9E5 for ; Wed, 28 Nov 2012 04:02:09 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id C8D47E5436 for ; Wed, 28 Nov 2012 04:02:07 +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: <1354075207.175648c0fad6b9bdeaf7cd6c47b67f53c7d5dcb0.dol-sen@gentoo> Subject: [gentoo-commits] proj/layman:master commit in: layman/ X-VCS-Repository: proj/layman X-VCS-Files: layman/__init__.py X-VCS-Directories: layman/ X-VCS-Committer: dol-sen X-VCS-Committer-Name: Brian Dolbec X-VCS-Revision: 175648c0fad6b9bdeaf7cd6c47b67f53c7d5dcb0 X-VCS-Branch: master Date: Wed, 28 Nov 2012 04:02:07 +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: 35d62067-ed66-4697-840f-b8d30e8232ba X-Archives-Hash: b40bdba261408d8231e4658b09516077 commit: 175648c0fad6b9bdeaf7cd6c47b67f53c7d5dcb0 Author: Brian Dolbec gentoo org> AuthorDate: Wed Nov 28 04:00:07 2012 +0000 Commit: Brian Dolbec gmail com> CommitDate: Wed Nov 28 04:00:07 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/layman.git;a=commit;h=175648c0 add a raise statement to be able to properly trace the import failure. Thank you floppym. --- layman/__init__.py | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/layman/__init__.py b/layman/__init__.py index ce51804..7a6bff5 100644 --- a/layman/__init__.py +++ b/layman/__init__.py @@ -12,7 +12,8 @@ try: from layman.config import BareConfig from layman.output import Message except ImportError: - sys.stderr.write("!!! Layman API import failed.") + sys.stderr.write("!!! Layman API imports failed.") + raise