diff options
author | Yaroslav Brustinov <ybrustin@cisco.com> | 2017-01-01 02:55:59 +0200 |
---|---|---|
committer | Yaroslav Brustinov <ybrustin@cisco.com> | 2017-01-01 03:00:29 +0200 |
commit | 0ab32112e9ab9d241e49a7e24ea1a5793c96270a (patch) | |
tree | 66a5b907ed5cd7e1e7224af812eb303da8d46e4e /scripts | |
parent | 7b8fd5a8e29202f21edfcb4f463ff920a0464ddb (diff) |
minor
Change-Id: Ibf02ca9bb5e2f2a6e6c0a498dc8ce889069acb56
Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/dpdk_setup_ports.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/dpdk_setup_ports.py b/scripts/dpdk_setup_ports.py index 9ad1a826..fd2361eb 100755 --- a/scripts/dpdk_setup_ports.py +++ b/scripts/dpdk_setup_ports.py @@ -403,13 +403,13 @@ Other network devices stream.close(); cfg_dict = self.m_cfg_dict[0] if 'version' not in cfg_dict: - raise DpdkSetup("Configuration file %s is old, should include version field\n" % fcfg ) + raise DpdkSetup("Configuration file %s is old, it should include version field\n" % fcfg ) if int(cfg_dict['version'])<2 : raise DpdkSetup("Configuration file %s is old, expected version 2, got: %s\n" % (fcfg, cfg_dict['version'])) if 'interfaces' not in self.m_cfg_dict[0]: - raise DpdkSetup("Configuration file %s is old, should include interfaces field even number of elemets" % fcfg) + raise DpdkSetup("Configuration file %s is old, it should include interfaces field with even number of elements" % fcfg) if_list=self.m_cfg_dict[0]['interfaces'] l=len(if_list); |