further removal and refactoring of methods used within misc/utils.py
This commit is contained in:
parent
6211b09585
commit
00b3c97448
23 changed files with 181 additions and 293 deletions
|
@ -13,12 +13,12 @@ import optparse
|
|||
import sys
|
||||
|
||||
from core.misc import ipaddress
|
||||
from core.misc.utils import mutecall
|
||||
from core.misc.utils import check_cmd
|
||||
from core.netns import nodes
|
||||
from core.session import Session
|
||||
|
||||
try:
|
||||
mutecall(["iperf", "-v"])
|
||||
check_cmd(["iperf", "-v"])
|
||||
except OSError:
|
||||
sys.stderr.write("ERROR: running iperf failed\n")
|
||||
sys.exit(1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue