aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2014-07-08 22:29:04 +0100
committerBryn M. Reeves <bmr@redhat.com>2014-07-08 22:29:04 +0100
commit9a2daeabe5c31f388a3b64740adb75fafcaf48a2 (patch)
tree6b259a853fdff01f3cfc1f6e0b748c12aea0a8fb
parentc5eace7d732e9fcd266315c30a2b3ce0c1289c71 (diff)
downloadsos-9a2daeabe5c31f388a3b64740adb75fafcaf48a2.tar.gz
[apache] option_list style fixes
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/apache.py10
1 files changed, 7 insertions, 3 deletions
diff --git a/sos/plugins/apache.py b/sos/plugins/apache.py
index 25764bc6..9490a5d2 100644
--- a/sos/plugins/apache.py
+++ b/sos/plugins/apache.py
@@ -19,7 +19,9 @@ class Apache(Plugin):
"""
plugin_name = "apache"
- option_list = [("log", "gathers all apache logs", "slow", False)]
+ option_list = [
+ ("log", "gathers all apache logs", "slow", False)
+ ]
class RedHatApache(Apache, RedHatPlugin):
"""Apache related information for Red Hat distributions
@@ -31,7 +33,8 @@ class RedHatApache(Apache, RedHatPlugin):
self.add_copy_specs([
"/etc/httpd/conf/httpd.conf",
- "/etc/httpd/conf.d/*.conf"])
+ "/etc/httpd/conf.d/*.conf"
+ ])
self.add_forbidden_path("/etc/httpd/conf/password.conf")
@@ -52,7 +55,8 @@ class DebianApache(Apache, DebianPlugin, UbuntuPlugin):
super(DebianApache, self).setup()
self.add_copy_specs([
"/etc/apache2/*",
- "/etc/default/apache2"])
+ "/etc/default/apache2"
+ ])
# collect only the current log set by default
self.add_copy_spec_limit("/var/log/apache2/access_log", 15)