diff options
author | Andrew Jeffery <andrew@aj.id.au> | 2017-10-11 18:08:01 +1030 |
---|---|---|
committer | Andrew Jeffery <andrew@aj.id.au> | 2017-10-17 11:45:17 +1030 |
commit | e4dcaef2605c87302d5826fc8d34a25ca8613c43 (patch) | |
tree | 8504da4c7447f5c5ea731c209ad51a51ce8a505c /op-hostctl | |
parent | 554a0e5c82e94dc7fbbe40791872fa89399a171a (diff) | |
download | talos-skeleton-e4dcaef2605c87302d5826fc8d34a25ca8613c43.tar.gz talos-skeleton-e4dcaef2605c87302d5826fc8d34a25ca8613c43.zip |
pytools: obmcutil: Introduce run_one_command()
Move the complexity of the for-loop body implementation away from the
loop itself. This reduces the general cyclomatic complexity a little
and allows for easier consideration of the implementation in isolation.
Change-Id: Id779dec720d3582cf89cd9981bcfd8b101b0d386
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Diffstat (limited to 'op-hostctl')
0 files changed, 0 insertions, 0 deletions