osc-lib/osc_lib
Stephen Finucane 4bb55ce75d formatters: Cast columns before outputting
Libraries like 'novaclient' return non-primitive types for many
operations. These are typically wrappers around primitive types, e.g.
'OrderedDict', but they all break YAML output formatting since PyYAML is
only compatible with primitive types when operating in safe mode.

The solution is rather simple: simply cast the values for these to their
expected format.

Change-Id: Ib7db6a25f2352a013cb2ce603e60ca48b6cc70e6
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Story: #2008320
Task: #41217
2020-11-04 15:30:09 +00:00
..
api Remove six library from dependencies 2020-05-07 11:11:09 +02:00
cli formatters: Cast columns before outputting 2020-11-04 15:30:09 +00:00
command Remove commandmanager subclass 2020-06-10 19:10:20 -05:00
tests formatters: Cast columns before outputting 2020-11-04 15:30:09 +00:00
utils Merge "Revert "Add error message when occurrence Forbidden error"" 2020-06-12 15:53:05 +00:00
__init__.py Allow passing app_name and app_version for useragent 2016-10-20 10:13:03 +11:00
clientmanager.py Remove six library from dependencies 2020-05-07 11:11:09 +02:00
exceptions.py Fix usage of NotFound exception 2019-08-08 14:42:23 +00:00
i18n.py Remove log translations 2017-03-21 00:41:17 -04:00
logs.py Backport log fix 2016-06-08 11:09:08 -05:00
shell.py Remove commandmanager subclass 2020-06-10 19:10:20 -05:00
version.py Allow passing app_name and app_version for useragent 2016-10-20 10:13:03 +11:00