applied the except and raise fixers to the master branch to close the gap with py3
[nepi.git] / src / nepi / resources / netns / netnsipv4address.py
index d59a6fd..353e4a7 100644 (file)
@@ -48,7 +48,7 @@ class NetNSIPv4Address(NetNSBase):
         if not interface: 
             msg = "IPv4Address not connected to Interface!!"
             self.error(msg)
-            raise RuntimeError, msg
+            raise RuntimeError(msg)
 
         return interface[0]