diff --git a/shinken/modules/ndodb_mysql_broker/ndodb_mysql_broker.py b/shinken/modules/ndodb_mysql_broker/ndodb_mysql_broker.py
index <HASH>..<HASH> 100644
--- a/shinken/modules/ndodb_mysql_broker/ndodb_mysql_broker.py
+++ b/shinken/modules/ndodb_mysql_broker/ndodb_mysql_broker.py
@@ -161,7 +161,7 @@ class Ndodb_Mysql_broker(BaseModule):
     def connect_database(self):    
         try :
             self.db.connect_database()
-        except _mysql_exceptions.OperationalError as exp:
+        except _mysql_exceptions.OperationalError, exp:
             logger.log( "[MySQL/NDO] Module raise an exception : %s . Please check the arguments!" % exp)
             raise
ndodb_mysql_broker module was not working on python<I>

The construct except Exception as inst: has been introduced in
python<I>. This was leading to package installation on debian fail,
due to dh_python2 byte-compiling modules on both python<I> and
python<I>.