summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIan Weller <ianweller@gmail.com>2008-11-02 11:21:08 -0600
committerIan Weller <ianweller@gmail.com>2008-11-02 11:21:08 -0600
commit98996b1b1c43958220ba00ba9314b0a764641a14 (patch)
tree3239977b4322d655c8ce45a407de281b16ecfc65
parentb52c70d07c2ebcefc0b5ec5cb964e0ae0f9974b8 (diff)
downloadfedora-business-cards-98996b1b1c43958220ba00ba9314b0a764641a14.zip
fedora-business-cards-98996b1b1c43958220ba00ba9314b0a764641a14.tar.gz
fedora-business-cards-98996b1b1c43958220ba00ba9314b0a764641a14.tar.xz
Whoops, put the try/except back in
-rwxr-xr-xfedora-business-cards18
1 files changed, 9 insertions, 9 deletions
diff --git a/fedora-business-cards b/fedora-business-cards
index a11d473..45823c2 100755
--- a/fedora-business-cards
+++ b/fedora-business-cards
@@ -24,12 +24,12 @@ module.
"""
import sys
-#try:
-from fedora_business_cards.frontend import cmdline
-cmdline.main()
-#except ImportError:
-# print >> sys.stderr, """\
-#There was a problem importing the fedora_business_cards module. Please make
-#sure that you have fedora-business-cards installed properly.
-#"""
-# sys.exit(1)
+try:
+ from fedora_business_cards.frontend import cmdline
+ cmdline.main()
+except ImportError:
+ print >> sys.stderr, """\
+There was a problem importing the fedora_business_cards module. Please make
+sure that you have fedora-business-cards installed properly.
+"""
+ sys.exit(1)