aboutsummaryrefslogtreecommitdiffstats
path: root/vnfmgr/vnfmgr_odl
diff options
context:
space:
mode:
authorGeorge Paraskevopoulos <geopar@intracom-telecom.com>2017-02-07 12:08:39 +0200
committerGeorge Paraskevopoulos <geopar@intracom-telecom.com>2017-02-07 12:32:31 +0200
commitc94abdd2538b948ccd75a1d1e6386e6e5a1675ec (patch)
tree3791ea177ac3f5134af7322dee715235bf63a61d /vnfmgr/vnfmgr_odl
parent995a0d9cfa3051034027b44c5bccb45e9180f8a0 (diff)
Simplify run_cmd
sfc.lib.utils.run_cmd has a lot of unnecessary options which are never used. This patch simplifies this function and also fixes the returncode checking (commands have terminate with errors on returncode != 0 not on return code < 0) Also change the return value on error to None instead of False Change-Id: I5f1068ffd1bc6091e866a002b1afcb2507d30981 Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
Diffstat (limited to 'vnfmgr/vnfmgr_odl')
0 files changed, 0 insertions, 0 deletions