diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2017-01-17 12:15:08 +0000 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2017-01-17 12:16:32 +0000 |
commit | cb6f73e67ef6a37bb0ecd0737b7c6b45aae08724 (patch) | |
tree | ebb173dd801df80f93145dd6ca6fd48b934da2db | |
parent | 6a43d9a5ab2aef180c4a760a7b6f67c1db9ea9ed (diff) | |
download | sos-cb6f73e67ef6a37bb0ecd0737b7c6b45aae08724.tar.gz |
[policies] honour sysroot in OpenSuSEPolicy
The sysroot paramter is not handled properly by the OpenSuSEPolicy
__init__ method: ensure that the method both accepts a sysroot
kwarg parameter, and that this is passed on to the superclass's
__init__() call.
Closes: #877.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r-- | sos/policies/suse.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sos/policies/suse.py b/sos/policies/suse.py index 700f5126..0f43568f 100644 --- a/sos/policies/suse.py +++ b/sos/policies/suse.py @@ -104,8 +104,8 @@ No changes will be made to system configuration. %(vendor_text)s """) - def __init__(self): - super(OpenSuSEPolicy, self).__init__() + def __init__(self, sysroot=None): + super(OpenSuSEPolicy, self).__init__(sysroot=sysroot) @classmethod def check(cls): |