#
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
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 |
|
#
eefa8d98 |
| 20-Nov-2019 |
Michael Walsh <micwalsh@us.ibm.com> |
pop_arg: Rename "default" to "pop_arg_default" Users of pop_arg() may wish to pop an argument which is itself named "default". This would have caused a naming conflict. Renamin
pop_arg: Rename "default" to "pop_arg_default" Users of pop_arg() may wish to pop an argument which is itself named "default". This would have caused a naming conflict. Renaming pop_arg's "default" to "pop_arg_default" to accommodate. Change-Id: I9b0bd31da2fdfe1adc0620b163a3eca54a52da18 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: Micha
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 ...
|
#
3af6087c |
| 01-Aug-2019 |
Michael Walsh <micwalsh@us.ibm.com> |
pop_arg "default" to default to None - Changed the "default" arg for the pop_arg() function to default to None. - Also, for source_to_object() function, altered the test for
pop_arg "default" to default to None - Changed the "default" arg for the pop_arg() function to default to None. - Also, for source_to_object() function, altered the test for detecting special-case of collections.OrderedDict from startswith("[") to startswith("[("). By making the test more strict, we allow for simple lists to be processed as lists rather than as collections.OrderedDict. Change-Id: I4d861307653332530023d53a89d191e828aaed5c Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
show more ...
|
Revision tags: v2.7-warrior-stable |
|
#
c28deec7 |
| 17-May-2019 |
Michael Walsh <micwalsh@us.ibm.com> |
New source_to_object() and args_to_objects() New functions in func_args.py: - source_to_object: Evaluate string value as python source code and return the resulting
New source_to_object() and args_to_objects() New functions in func_args.py: - source_to_object: Evaluate string value as python source code and return the resulting object. If value is NOT a string or can not be interpreted as a python source object definition, simply return value. The idea is to convert python object definition source code (e.g. for lists, dictionaries, tuples, etc.) into an object. - args_to_objects: Run source_to_object() on each element in args and return the result. Change-Id: I8f30d805cebec0f1d3e91cda36094dc3cb9c89bb Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
show more ...
|
#
0ff2eed2 |
| 12-Mar-2019 |
Michael Walsh <micwalsh@us.ibm.com> |
New pop_arg function Pop a named argument from the args/kwargs and return a tuple consisting of the argument value, the modified args and the modified kwargs. Change-Id: Ie02e30
New pop_arg function Pop a named argument from the args/kwargs and return a tuple consisting of the argument value, the modified args and the modified kwargs. Change-Id: Ie02e3024be10b2f6c081f4882c6f50c33a12e8f7 Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
show more ...
|