[tracker] Use correct Exception name on import
- From: Ivan Frade <ifrade src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [tracker] Use correct Exception name on import
- Date: Sat, 21 Nov 2009 10:24:54 +0000 (UTC)
commit 6bae3af63847d4ccaebf39c73e812818088a98dd
Author: Michael Tameni <michele amdplanet it>
Date: Sat Nov 21 12:27:13 2009 +0200
Use correct Exception name on import
python/rss_reader/signaler.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/python/rss_reader/signaler.py b/python/rss_reader/signaler.py
index efd9005..b73153e 100755
--- a/python/rss_reader/signaler.py
+++ b/python/rss_reader/signaler.py
@@ -28,7 +28,7 @@ import datetime, random
try:
import barnum.gen_data as gen_data
barnum_available = True
-except ImportException:
+except ImportError:
print "No barnum. Crappy random"
barnum_available = False
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]