diff options
author | imarom <imarom@cisco.com> | 2015-11-13 14:21:55 +0200 |
---|---|---|
committer | imarom <imarom@cisco.com> | 2015-11-13 14:28:05 +0200 |
commit | 57e67fd2ae248039951798978cc8c1c219c3d752 (patch) | |
tree | ac91e49ed2969025f40a34a049ca6623fc30fe68 /scripts/automation/trex_control_plane/console/parsing_opts.py | |
parent | 513581840e5787e73161de049aa59552f23e719d (diff) |
few mods
few fixes
TUI is not working yet...
need to fix more stuff
a checkpoint for now
Diffstat (limited to 'scripts/automation/trex_control_plane/console/parsing_opts.py')
-rwxr-xr-x | scripts/automation/trex_control_plane/console/parsing_opts.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/automation/trex_control_plane/console/parsing_opts.py b/scripts/automation/trex_control_plane/console/parsing_opts.py index 252d33bf..0e11df74 100755 --- a/scripts/automation/trex_control_plane/console/parsing_opts.py +++ b/scripts/automation/trex_control_plane/console/parsing_opts.py @@ -139,8 +139,8 @@ class CCmdArgParser(argparse.ArgumentParser): opts.ports = self.stateless_client.get_port_ids() for port in opts.ports: - if not self.stateless_client.validate_port_list(port): - self.error("port id {0} is not a valid port id\n".format(port)) + if not self.stateless_client.validate_port_list([port]): + self.error("port id '{0}' is not a valid port id\n".format(port)) return opts |