diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2014-07-08 22:28:43 +0100 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2014-07-08 22:28:43 +0100 |
commit | c5eace7d732e9fcd266315c30a2b3ce0c1289c71 (patch) | |
tree | 63f9f6c497e741cb39fcc1145d44fbe9e267cbab | |
parent | f65be31c18a00cd1ff2e1eea8f9596da8d084c75 (diff) | |
download | sos-c5eace7d732e9fcd266315c30a2b3ce0c1289c71.tar.gz |
[anaconda] list style fixes
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r-- | sos/plugins/anaconda.py | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/sos/plugins/anaconda.py b/sos/plugins/anaconda.py index d33f5abc..0e55ec6f 100644 --- a/sos/plugins/anaconda.py +++ b/sos/plugins/anaconda.py @@ -21,22 +21,26 @@ class Anaconda(Plugin, RedHatPlugin): plugin_name = 'anaconda' - files = ('/var/log/anaconda.log', - '/var/log/anaconda') + files = ( + '/var/log/anaconda.log', + '/var/log/anaconda' + ) def setup(self): paths = [ - "/root/anaconda-ks.cfg"] + "/root/anaconda-ks.cfg" + ] if os.path.isdir('/var/log/anaconda'): # new anaconda paths.append('/var/log/anaconda') else: - paths = paths + \ - [ "/var/log/anaconda.*" + paths = paths + [ + "/var/log/anaconda.*" "/root/install.log", - "/root/install.log.syslog"] + "/root/install.log.syslog" + ] self.add_copy_specs(paths) |