[billreminder] Warn about import error for sqlalchemy module.
- From: Og B. Maciel <ogmaciel src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [billreminder] Warn about import error for sqlalchemy module.
- Date: Sat, 14 Nov 2009 20:58:50 +0000 (UTC)
commit e67a687071674fc84b9c8458b476b5f988e099dd
Author: Og B. Maciel <ogmaciel gnome org>
Date: Sat Nov 14 12:39:29 2009 -0500
Warn about import error for sqlalchemy module.
src/billreminder.py | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/billreminder.py b/src/billreminder.py
index 78819dc..710f278 100644
--- a/src/billreminder.py
+++ b/src/billreminder.py
@@ -27,6 +27,12 @@ except ImportError:
print "Please install gtk"
raise SystemExit
+try:
+ import sqlalchemy
+except ImportError:
+ print "Please install sqlalchemy"
+ raise SystemExit
+
from lib import dialogs
from lib import common
from lib import i18n
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]