From e431d28492c1493db62650e5f55ebf74afddf79f Mon Sep 17 00:00:00 2001 From: Yves Date: Tue, 20 Sep 2011 11:30:06 -0700 Subject: [PATCH] Fix exception catching when woodchuck is not installed --- src/wc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wc.py b/src/wc.py index b061138..c8fd987 100644 --- 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),)) -- 1.7.9.5