From 70eae2a8fde8dd6e85306b70dfa8c0228ca54411 Mon Sep 17 00:00:00 2001 From: "Bryn M. Reeves" Date: Sun, 27 May 2018 12:13:15 +0100 Subject: [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 --- sos/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit