diff options
author | Ed Tanous <edtanous@google.com> | 2022-02-17 23:19:32 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2022-03-07 20:52:17 +0300 |
commit | 5b9ef70bd343047bb3c1f204b4a2de1030354704 (patch) | |
tree | a1470406779acb09944b20615fb8056c3c92ac72 /static/redfish | |
parent | 1cf53df04bc2525776cf6fd212304c0857cd6a38 (diff) | |
download | bmcweb-5b9ef70bd343047bb3c1f204b4a2de1030354704.tar.xz |
Simplify parse_registries.py
When formatting blocks of code, there's a lot of redundant
registry.write calls that obfuscate a lot of the intent. When handling
whitespace, this also makes the code a level harder to read.
This commit tries to avoid large blocks of registry.write entries, to
make the code easier to read.
Tested:
ran parse_registries.py, and verified via git that it generates the same
files as it did previously.
Signed-off-by: Ed Tanous <edtanous@google.com>
Change-Id: I77a885fe3eb0738e4bfb53cf321b20f691572f5b
Diffstat (limited to 'static/redfish')
0 files changed, 0 insertions, 0 deletions