diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2014-09-30 18:34:21 +0100 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2014-09-30 18:37:31 +0100 |
commit | c2b5e76f22531da9a53d25ced6debdf79d9ef9c2 (patch) | |
tree | 45a28b1e6082d13ad43c6de68fa87acf5d7a2af5 /sos/plugins/grub.py | |
parent | e945c1c7f7cb726b6b6f9e897b41c5dac609c34e (diff) | |
download | sos-c2b5e76f22531da9a53d25ced6debdf79d9ef9c2.tar.gz |
[Plugin] remove add_copy_specs()
Merge add_copy_specs() into add_copy_spec() and treat any strings
passed to the new method as though they were a single item list.
Mirrors the prior change to add_cmd_outputs().
Fixes #301.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
Diffstat (limited to 'sos/plugins/grub.py')
-rw-r--r-- | sos/plugins/grub.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/plugins/grub.py b/sos/plugins/grub.py index 65b6a7dd..18e7b4d1 100644 --- a/sos/plugins/grub.py +++ b/sos/plugins/grub.py @@ -24,7 +24,7 @@ class Grub(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): packages = ('grub',) def setup(self): - self.add_copy_specs([ + self.add_copy_spec([ "/boot/efi/EFI/*/grub.conf", "/boot/grub/grub.conf", "/boot/grub/device.map", |