diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2018-05-27 12:13:15 +0100 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2018-06-20 18:01:21 +0100 |
commit | 70eae2a8fde8dd6e85306b70dfa8c0228ca54411 (patch) | |
tree | e20c1d33e1dc2e4c91833a7731d49f66e2666b7c | |
parent | 7d9d8b3a19254c5cfa6e664add081a8eb0672cd3 (diff) | |
download | sos-70eae2a8fde8dd6e85306b70dfa8c0228ca54411.tar.gz |
[sos] make SoSOptions.profiles default an empty list
To be consistent with other deque()-typed arguments make the
defined value of SoSOptions.profile be [] (this simplifies JSON
encoding of the object).
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r-- | sos/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/__init__.py b/sos/__init__.py index 53040eb5..6b165324 100644 --- a/sos/__init__.py +++ b/sos/__init__.py @@ -77,7 +77,7 @@ class SoSOptions(object): noreport = False onlyplugins = [] plugopts = [] - profiles = deque() + profiles = [] quiet = False sysroot = None threads = 4 |