diff options
author | Szymon Dompke <szymon.dompke@intel.com> | 2021-08-11 20:46:31 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2021-08-17 00:13:43 +0300 |
commit | d699cf969aea5a059b95151f58e054c928f076cc (patch) | |
tree | 1b41a27448e6e2978e81cbf7204a519dfcc283b8 /.github | |
parent | dc414b50c19bea912babb00cf8f1e090dbbcc3b7 (diff) | |
download | bmcweb-d699cf969aea5a059b95151f58e054c928f076cc.tar.xz |
Fix update_schemas script
Script update_schemas.py was incorrectly generating schemas since change
f395daac96c8122623700c2b124d905266ea8223. This was caused by treating
'edm' as 'edmx' during parse process.
Additionally, glob pattern was incorrectly skipping all files starting
with letter 'O', instead of 'Oem' phrase. This lead to python exceptions
during generation, as the script was trying to recreate existing
directories like 'OperatingConfig'.
Unused imports were removed.
Tested:
- running update_schemas.py no longer generates malformed data and no
exception were thrown.
- all files generated by update_schemas.py are generated identically as
before regression.
Signed-off-by: Szymon Dompke <szymon.dompke@intel.com>
Change-Id: I5e2025ec8b264a38cbf5bb944142c83c0486ce50
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions