Commit f98545ed authored by Martín Ferrari's avatar Martín Ferrari

Fix error reporting

parent c854330a
...@@ -20,8 +20,8 @@ def _find_bin(name): ...@@ -20,8 +20,8 @@ def _find_bin(name):
def _find_bin_or_die(name): def _find_bin_or_die(name):
r = _find_bin(name) r = _find_bin(name)
if not r: if not r:
raise RuntimeError("Cannot find `%s' command, impossible to " + raise RuntimeError(("Cannot find `%s' command, impossible to " +
"continue." % name) "continue.") % name)
return r return r
ip_path = _find_bin_or_die("ip") ip_path = _find_bin_or_die("ip")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment