aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2018-05-27 12:13:15 +0100
committerBryn M. Reeves <bmr@redhat.com>2018-06-20 18:01:21 +0100
commit70eae2a8fde8dd6e85306b70dfa8c0228ca54411 (patch)
treee20c1d33e1dc2e4c91833a7731d49f66e2666b7c
parent7d9d8b3a19254c5cfa6e664add081a8eb0672cd3 (diff)
downloadsos-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__.py2
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