Fix exception catching when woodchuck is not installed
authorYves <yves@marcoz.org>
Tue, 20 Sep 2011 18:30:06 +0000 (11:30 -0700)
committerYves <yves@marcoz.org>
Tue, 20 Sep 2011 18:30:06 +0000 (11:30 -0700)
src/wc.py

index b061138..c8fd987 100644 (file)
--- a/src/wc.py
+++ b/src/wc.py
@@ -45,7 +45,7 @@ class mywoodchuck (PyWoodchuck):
         try:
             PyWoodchuck.__init__ (self, human_readable_name, identifier,
                                   request_feedback)
-        except woodchuck.Error, e:
+        except Exception, e:
             logger.error(
                 "Failed to establish a connection to the Woodchuck server: %s"
                 % (str(e),))