applied the except and raise fixers to the master branch to close the gap with py3
[nepi.git] / src / nepi / resources / omf / omf6_api.py
index 35aa219..3401c32 100644 (file)
@@ -123,7 +123,7 @@ class OMF6API(Logger):
         else:
             msg = "XMPP Client is not ready after long time"
             self.error(msg)
-            raise RuntimeError, msg
+            raise RuntimeError(msg)
 
     @property
     def _nepi_topic(self):