diff options
author | Jake Hunsaker <jhunsake@redhat.com> | 2020-03-26 17:07:06 -0400 |
---|---|---|
committer | Jake Hunsaker <jhunsake@redhat.com> | 2020-04-08 09:27:16 -0400 |
commit | 59789c823dcbbd0452421ad3c68d568e54f32c3a (patch) | |
tree | 69d1723c63c730038541fa7b5b11dfb946caa6f9 | |
parent | 63742b322481eca01f902c2a3fde98200b6c0ef2 (diff) | |
download | sos-59789c823dcbbd0452421ad3c68d568e54f32c3a.tar.gz |
[options] Drop explicit subclass of object
For the 3.x line, many classes subclassed `object` directly, in order to
use the 'new-style' objects introduced with python3, while still
maintaining python2 functionality. As sos-4.0 is python3 only, we no
longer need to do this.
Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
-rw-r--r-- | sos/options.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/options.py b/sos/options.py index 126c5791..4631ac75 100644 --- a/sos/options.py +++ b/sos/options.py @@ -16,7 +16,7 @@ def _is_seq(val): return val_type is list or val_type is tuple -class SoSOptions(object): +class SoSOptions(): def _merge_opt(self, opt, src, is_default): def _unset(val): |