X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=src%2Fnepi%2Fresources%2Fnetns%2Fnetnsroute.py;h=d304fa018109fe9450a374d5b202cff53461a668;hb=6285ca51026efb69642eea9dfc7c480e722d84a9;hp=a3ca610893e5171fa760b79f551cb694d6f6a149;hpb=a92223f91edd2eeb48e1ad70aa4c843d778bfe94;p=nepi.git diff --git a/src/nepi/resources/netns/netnsroute.py b/src/nepi/resources/netns/netnsroute.py index a3ca6108..d304fa01 100644 --- a/src/nepi/resources/netns/netnsroute.py +++ b/src/nepi/resources/netns/netnsroute.py @@ -3,9 +3,8 @@ # Copyright (C) 2014 INRIA # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. +# it under the terms of the GNU General Public License version 2 as +# published by the Free Software Foundation; # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -47,7 +46,7 @@ class NetNSIPv4Route(NetNSBase): if not node: msg = "Route not connected to Node!!" self.error(msg) - raise RuntimeError, msg + raise RuntimeError(msg) return node[0]