[tracker] Use correct Exception name on import



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]