1 |
commit: 175648c0fad6b9bdeaf7cd6c47b67f53c7d5dcb0 |
2 |
Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Nov 28 04:00:07 2012 +0000 |
4 |
Commit: Brian Dolbec <brian.dolbec <AT> gmail <DOT> com> |
5 |
CommitDate: Wed Nov 28 04:00:07 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/layman.git;a=commit;h=175648c0 |
7 |
|
8 |
add a raise statement to be able to properly trace the import failure. Thank you floppym. |
9 |
|
10 |
--- |
11 |
layman/__init__.py | 3 ++- |
12 |
1 files changed, 2 insertions(+), 1 deletions(-) |
13 |
|
14 |
diff --git a/layman/__init__.py b/layman/__init__.py |
15 |
index ce51804..7a6bff5 100644 |
16 |
--- a/layman/__init__.py |
17 |
+++ b/layman/__init__.py |
18 |
@@ -12,7 +12,8 @@ try: |
19 |
from layman.config import BareConfig |
20 |
from layman.output import Message |
21 |
except ImportError: |
22 |
- sys.stderr.write("!!! Layman API import failed.") |
23 |
+ sys.stderr.write("!!! Layman API imports failed.") |
24 |
+ raise |