diff options
author | Thomas Mangin <thomas.mangin@exa.net.uk> | 2020-04-26 22:00:26 +0100 |
---|---|---|
committer | Thomas Mangin <thomas.mangin@exa.net.uk> | 2020-04-26 22:27:08 +0100 |
commit | e768f52b45e3f0d354c788c38d7dfc9964c4d8aa (patch) | |
tree | ff136f35db89140ec79d4f312e45ff39f904777b /python/vyos/component_versions.py | |
parent | 44011942ef8376985dde24ebebe2b60e622737dd (diff) | |
download | vyos-1x-e768f52b45e3f0d354c788c38d7dfc9964c4d8aa.tar.gz vyos-1x-e768f52b45e3f0d354c788c38d7dfc9964c4d8aa.zip |
util: T2226: expected return code for cmd
add an option to cmd() allowing to define a list of error codes
which are expected when runnin the command. the default is only
to expect zero (no error).
Diffstat (limited to 'python/vyos/component_versions.py')
0 files changed, 0 insertions, 0 deletions