Revision tags: v5.0-stable, v4.0-stable |
|
#
20f38712 |
| 08-Dec-2022 |
Patrick Williams <patrick@stwcx.xyz> |
black: re-format
black and isort are enabled in the openbmc-build-scripts on Python files to have a consistent formatting. Re-run the formatter on the whole repository.
Signed-off-by: Patrick Will
black: re-format
black and isort are enabled in the openbmc-build-scripts on Python files to have a consistent formatting. Re-run the formatter on the whole repository.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I944f1915ece753f72a3fa654902d445a9749d0f9
show more ...
|
#
e635ddc0 |
| 08-Dec-2022 |
George Keishing <gkeishin@in.ibm.com> |
Revert "black: re-format"
This reverts commit 5731818de0ce446ceaafc7e75ae39da1b69942ae.
Signed-off-by: George Keishing <gkeishin@in.ibm.com> Change-Id: Ie61cdc8c7f2825b0d9d66be87a6a3a058de2b372
|
#
5731818d |
| 08-Dec-2022 |
Patrick Williams <patrick@stwcx.xyz> |
black: re-format
black and isort are enabled in the openbmc-build-scripts on Python files to have a consistent formatting. Re-run the formatter on the whole repository.
Change-Id: If1010ead857d413
black: re-format
black and isort are enabled in the openbmc-build-scripts on Python files to have a consistent formatting. Re-run the formatter on the whole repository.
Change-Id: If1010ead857d41364c024bf8145a979a9377d382 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
Revision tags: robotframework-requests |
|
#
e7e9171e |
| 03-Sep-2021 |
George Keishing <gkeishin@in.ibm.com> |
Update python code for python 3.8 or higher compatibility
Changes: - Update shebang directive to use python3 explicitly. - remove preexec_fn feature which is deprecated in higher py
Update python code for python 3.8 or higher compatibility
Changes: - Update shebang directive to use python3 explicitly. - remove preexec_fn feature which is deprecated in higher python version 3.8 and above. - bufsize fix, from documentation bufsize 1 means line buffered (only usable if universal_newlines=True i.e., in a text mode) refer: https://docs.python.org/3/library/subprocess.html - Fix SyntaxWarning: "is" with "=="
Change-Id: Ib96c1ba8c2327d6774d0d731b48ca7e61a4a297a Signed-off-by: George Keishing <gkeishin@in.ibm.com>
show more ...
|
Revision tags: v2.10-Hardknott, v2.8.0-stable |
|
#
f3a8ae10 |
| 10-Feb-2020 |
Michael Walsh <micwalsh@us.ibm.com> |
New split_dict_on_key function
Change-Id: I7f27a68c8116e2e59e00d70a9bef4727dcaeab3b Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
|
#
19df7aaa |
| 16-Dec-2019 |
Michael Walsh <micwalsh@us.ibm.com> |
key_value_list_to_dict py3 fixes
key_value_list_to_dict was not working correctly when running python3.
Change-Id: I209633059b3179328126b83905ec009e09310c69 Signed-off-by: Michael Walsh <micwalsh@u
key_value_list_to_dict py3 fixes
key_value_list_to_dict was not working correctly when running python3.
Change-Id: I209633059b3179328126b83905ec009e09310c69 Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
show more ...
|
#
79af4395 |
| 09-Dec-2019 |
Michael Walsh <micwalsh@us.ibm.com> |
New key_value_outbuf_to_dicts
Convert a buffer containing multiple sections with key/value strings on each line to a list of dictionaries and return it.
Change-Id: I9831e022650307d4e5462e041358a53a
New key_value_outbuf_to_dicts
Convert a buffer containing multiple sections with key/value strings on each line to a list of dictionaries and return it.
Change-Id: I9831e022650307d4e5462e041358a53ae967169f Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
show more ...
|
#
410b1787 |
| 22-Oct-2019 |
Michael Walsh <micwalsh@us.ibm.com> |
Change several python and robot files to 110 chars
Taking advantage of current team limit of 110 chars.
Change-Id: If7ab51fe894889967b8c8bb2f2fa4664f01117d5 Signed-off-by: Michael Walsh <micwalsh@u
Change several python and robot files to 110 chars
Taking advantage of current team limit of 110 chars.
Change-Id: If7ab51fe894889967b8c8bb2f2fa4664f01117d5 Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
show more ...
|
#
0a124e87 |
| 21-Oct-2019 |
Michael Walsh <micwalsh@us.ibm.com> |
list_to_report: map to list(map) py3 support
Change-Id: I628e8175fb4c110d3a02f72e4b2a6e3762f28a71 Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
|
Revision tags: v2.7-warrior-stable |
|
#
399df5a2 |
| 21-Jun-2019 |
Michael Walsh <micwalsh@us.ibm.com> |
filter_struct(): Add support for invert arg
Added support for invert argument to filter_struct() function:
- invert: Invert the results. Instead of including only matching entries in the results
filter_struct(): Add support for invert arg
Added support for invert argument to filter_struct() function:
- invert: Invert the results. Instead of including only matching entries in the results, include only NON-matching entries in the results.
Change-Id: If1e854f5f360384965917fde40f0036cfb22eba7 Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
show more ...
|
#
e0c5ec3a |
| 13-Jun-2019 |
George Keishing <gkeishin@in.ibm.com> |
Typo and test case name fix
Change-Id: If65f27f0b67f2f7ea0091c9b060740f78c926693 Signed-off-by: George Keishing <gkeishin@in.ibm.com>
|
#
46ef0a24 |
| 11-Jun-2019 |
Michael Walsh <micwalsh@us.ibm.com> |
Add regex support to filter_struct
- filter_struct(): - Added support for regex argument. - Added support for a filter_dict value of None. - Simplified code. - New match_struct(): Return Tru
Add regex support to filter_struct
- filter_struct(): - Added support for regex argument. - Added support for a filter_dict value of None. - Simplified code. - New match_struct(): Return True or False to indicate whether the given structure matches the given the match dictionary. - Improved nested_get(): - Improved documentation. - Improved ability to traverse beyond the first sub-level looking for matching keys. Consequently, one can even pass structures containing no subordinate dictionaries at all. In this case, an empty list is returned. This could have some applications where a caller wants results from a structure which may or may not contain the requested key fields.
Change-Id: I8acfe2614b73dc2c5a6963c55e430d4d3149011b Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
show more ...
|
#
074b7654 |
| 22-May-2019 |
Michael Walsh <micwalsh@us.ibm.com> |
New filter_struct()
Filter the structure by removing any entries that do NOT contain the keys/ values specified in filter_dict.
Change-Id: I02333eab51a8612aef5377becbb1f48c1664c4cf Signed-off-by: M
New filter_struct()
Filter the structure by removing any entries that do NOT contain the keys/ values specified in filter_dict.
Change-Id: I02333eab51a8612aef5377becbb1f48c1664c4cf Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
show more ...
|
#
c2762f62 |
| 17-May-2019 |
Michael Walsh <micwalsh@us.ibm.com> |
Replace pvar usage with print_var
pvar is an abbreviation for print_var. For final code, print_var lends more clarity.
Change-Id: Ibbb606ce10b2a1035eaf735c383758fb9a224149 Signed-off-by: Michael W
Replace pvar usage with print_var
pvar is an abbreviation for print_var. For final code, print_var lends more clarity.
Change-Id: Ibbb606ce10b2a1035eaf735c383758fb9a224149 Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
show more ...
|
#
d882cdc5 |
| 24-Apr-2019 |
Michael Walsh <micwalsh@us.ibm.com> |
nested_get support list of dicts
Modified nested_get to support a list of dictionaries as well as just dictionaries.
Change-Id: I568e902d1ef59e0c9658b21fa41f832b70fac975 Signed-off-by: Michael Wals
nested_get support list of dicts
Modified nested_get to support a list of dictionaries as well as just dictionaries.
Change-Id: I568e902d1ef59e0c9658b21fa41f832b70fac975 Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
show more ...
|
#
1db8687d |
| 16-Apr-2019 |
Michael Walsh <micwalsh@us.ibm.com> |
key_value_list_to_dict support list of tuples
Change-Id: Ief65c66ba5e662204111217bdb455ae4948cee85 Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
|
#
7822b9e9 |
| 12-Mar-2019 |
Michael Walsh <micwalsh@us.ibm.com> |
New nested_get function
Return a list of all values from the nested dictionary with the given key.
Change-Id: I43fd8291b57c433a411a9f6e3c2de61b8a6afb42 Signed-off-by: Michael Walsh <micwalsh@us.ibm
New nested_get function
Return a list of all values from the nested dictionary with the given key.
Change-Id: I43fd8291b57c433a411a9f6e3c2de61b8a6afb42 Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
show more ...
|
Revision tags: v2.6-thud-stable, v2.2-stable |
|
#
64043d54 |
| 21-Sep-2018 |
Michael Walsh <micwalsh@us.ibm.com> |
Add to field_delim argument to list_to_report function
Change-Id: I082a1510abcd5e3a578a428290314b9b6c7649c6 Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
|
#
255181c1 |
| 07-Aug-2018 |
Michael Walsh <micwalsh@us.ibm.com> |
var_funcs.py python3 changes
- Use list() on filter() output
Change-Id: I523209430bb83975044c6517717fb6aad7d18c0a Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
|
Revision tags: v2.1-stable |
|
#
dc97882e |
| 12-Jul-2018 |
Michael Walsh <micwalsh@us.ibm.com> |
list_to_report support for field descriptor headers
Support for processing reports with headers in the following format:
field1 field2 ------- -------
Change-Id: Ifc351878fa929bf0ea155c4273e54212
list_to_report support for field descriptor headers
Support for processing reports with headers in the following format:
field1 field2 ------- -------
Change-Id: Ifc351878fa929bf0ea155c4273e5421280c505ae Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
show more ...
|
Revision tags: v2.0-stable |
|
#
096cd565 |
| 26-Mar-2018 |
Gunnar Mills <gmills@us.ibm.com> |
Fixed PEP 8 style using autopep8
Used autopep8 to correct styling. Ran autopep8 on openbmc-test-automation, autopep8 is not able to fix all styling issues. There is still around 1000 styling violati
Fixed PEP 8 style using autopep8
Used autopep8 to correct styling. Ran autopep8 on openbmc-test-automation, autopep8 is not able to fix all styling issues. There is still around 1000 styling violations in openbmc-test-automation. More information on autopep8 can be found here, https://pypi.python.org/pypi/autopep8
Change-Id: Iddc131da1d74d978eb3dd0fdd6ce5d0a0e49b0f8 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
show more ...
|
#
cad0713e |
| 19-Feb-2018 |
Michael Walsh <micwalsh@us.ibm.com> |
Added process_indent to key_value_list_to_dict.
This allows for processing of indented sub-dictionaries and sub-lists.
Change-Id: I8afc5a41d7ddd28aa45c0a15fe473b938a5d6ca3 Signed-off-by: Michael Wa
Added process_indent to key_value_list_to_dict.
This allows for processing of indented sub-dictionaries and sub-lists.
Change-Id: I8afc5a41d7ddd28aa45c0a15fe473b938a5d6ca3 Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
show more ...
|
#
9509a0ff |
| 08-Feb-2018 |
MICHAEL J. WALSH <micwalsh@gfwr804.rch.stglabs.ibm.com> |
Corrected error in parse_key_value in var_funcs.py.
Need to use caller's delim when re-joining fields 1 to n.
Change-Id: I248e52efd393088101875ce41b1496c07504afb1 Signed-off-by: MICHAEL J. WALSH <m
Corrected error in parse_key_value in var_funcs.py.
Need to use caller's delim when re-joining fields 1 to n.
Change-Id: I248e52efd393088101875ce41b1496c07504afb1 Signed-off-by: MICHAEL J. WALSH <micwalsh@us.ibm.com>
show more ...
|
#
db560d46 |
| 20-Nov-2017 |
Michael Walsh <micwalsh@us.ibm.com> |
New list_to_report and outbuf_to_report functions.
Change-Id: I115c9d10f4b336431d86e655d617f8dfa1684bb7 Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
|
#
c1dfc781 |
| 26-Sep-2017 |
Michael Walsh <micwalsh@us.ibm.com> |
Fixed arg passing bug in key/value funcs.
Change-Id: Iabd6353f136e959c106c300f9f70e807a83804e7 Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
|