git://git.onelab.eu
/
nepi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
applied the except and raise fixers to the master branch to close the gap with py3
[nepi.git]
/
src
/
nepi
/
resources
/
netns
/
netnsroute.py
diff --git
a/src/nepi/resources/netns/netnsroute.py
b/src/nepi/resources/netns/netnsroute.py
index
147d012
..
d304fa0
100644
(file)
--- a/
src/nepi/resources/netns/netnsroute.py
+++ b/
src/nepi/resources/netns/netnsroute.py
@@
-46,7
+46,7
@@
class NetNSIPv4Route(NetNSBase):
if not node:
msg = "Route not connected to Node!!"
self.error(msg)
if not node:
msg = "Route not connected to Node!!"
self.error(msg)
- raise RuntimeError
, msg
+ raise RuntimeError
(msg)
return node[0]
return node[0]