X-Git-Url: http://git.onelab.eu/?p=nepi.git;a=blobdiff_plain;f=src%2Fnepi%2Fresources%2Fns3%2Fns3pipechanel.py;h=40b3ab59a7af0b9ea51a9eb32c124798ce53e8c4;hp=2a85e6903a4f8ff59d7ecb55d8f73281ff3ad1d3;hb=6285ca51026efb69642eea9dfc7c480e722d84a9;hpb=cb5d027b813a27d7de263653e1a8e0cef5490f0a diff --git a/src/nepi/resources/ns3/ns3pipechanel.py b/src/nepi/resources/ns3/ns3pipechanel.py index 2a85e690..40b3ab59 100644 --- a/src/nepi/resources/ns3/ns3pipechanel.py +++ b/src/nepi/resources/ns3/ns3pipechanel.py @@ -40,7 +40,7 @@ class NS3BasePipeChannel(NS3Base): if not devices or len(devices) != 2: msg = "PipeChannel must be connected to exactly to two FdNetDevices" self.error(msg) - raise RuntimeError, msg + raise RuntimeError(msg) self._devices = devices