diff options
author | Kinsey Moore <kinsey.moore@oarcorp.com> | 2023-05-11 16:37:32 -0500 |
---|---|---|
committer | Kinsey Moore <kinsey.moore@oarcorp.com> | 2023-05-15 21:46:30 -0500 |
commit | a96d0254b4dcf2a4ea638653008f3e2f72689f62 (patch) | |
tree | d2bb4ea8cbdd42d8143dd574d44ac1d5242cac09 | |
parent | netservices.py: Move defaults out of tests (diff) | |
download | rtems-net-services-a96d0254b4dcf2a4ea638653008f3e2f72689f62.tar.bz2 |
netservices.py: Spelling correction
-rw-r--r-- | netservices.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/netservices.py b/netservices.py index c9e3a4c..9616c10 100644 --- a/netservices.py +++ b/netservices.py @@ -66,7 +66,7 @@ def net_config_header(bld): if not os.path.exists(bld.env.NET_CONFIG): bld.fatal('network configuraiton \'%s\' not found' % (bld.env.NET_CONFIG)) - net_manditory_tags = [ + net_mandatory_tags = [ 'NET_CFG_IFACE', 'NET_CFG_BOOT_PROT', ] @@ -97,15 +97,15 @@ def net_config_header(bld): 'parse error: %d: %s' % (bld.env.NET_CONFIG, lc, l)) lhs = ls[0].strip() rhs = ls[1].strip() - if lhs in net_manditory_tags or lhs in net_optional_tags: + if lhs in net_mandatory_tags or lhs in net_optional_tags: net_defaults[lhs] = rhs else: bld.fatal('network configuration \'%s\' ' \ 'invalid config: %d: %s' % (bld.env.NET_CONFIG, lc, l)) - for cfg in net_manditory_tags: + for cfg in net_mandatory_tags: if cfg not in net_defaults: bld.fatal('network configuration \'%s\' ' \ - 'manditory config not found: %s' % (bld.env.NET_CONFIG, cfg)) + 'mandatory config not found: %s' % (bld.env.NET_CONFIG, cfg)) for cfg in net_defaults: sed += "-e 's/@%s@/%s/' " % (cfg, net_defaults[cfg]) bld(target=bld.env.NETWORK_CONFIG, |