diff options
author | Adam Stokes <adam.stokes@ubuntu.com> | 2013-04-04 21:19:26 -0400 |
---|---|---|
committer | Adam Stokes <adam.stokes@ubuntu.com> | 2013-04-04 21:19:26 -0400 |
commit | d796edd626202c036d49b72de22e4a84be35203e (patch) | |
tree | 52dedcc1f26e0707f4e78a710f60ec9c6e297063 | |
parent | 0c48b167ea53362b67c46a10c17ee7bc9ea9887a (diff) | |
download | sos-d796edd626202c036d49b72de22e4a84be35203e.tar.gz |
More pep8 classname styling
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
-rw-r--r-- | sos/plugins/abrt.py | 2 | ||||
-rw-r--r-- | sos/plugins/acpid.py | 6 | ||||
-rw-r--r-- | sos/plugins/amd.py | 2 | ||||
-rw-r--r-- | sos/plugins/anaconda.py | 2 | ||||
-rw-r--r-- | sos/plugins/apache.py | 6 | ||||
-rw-r--r-- | sos/plugins/apparmor.py | 2 | ||||
-rw-r--r-- | sos/plugins/apport.py | 2 | ||||
-rw-r--r-- | sos/plugins/auditd.py | 2 | ||||
-rw-r--r-- | sos/plugins/autofs.py | 6 | ||||
-rw-r--r-- | sos/plugins/bootloader.py | 2 | ||||
-rw-r--r-- | sos/plugins/ceph.py | 2 | ||||
-rw-r--r-- | sos/plugins/cgroups.py | 6 | ||||
-rw-r--r-- | sos/plugins/cloudforms.py | 2 | ||||
-rw-r--r-- | sos/plugins/cluster.py | 2 | ||||
-rw-r--r-- | sos/plugins/cobbler.py | 6 |
15 files changed, 25 insertions, 25 deletions
diff --git a/sos/plugins/abrt.py b/sos/plugins/abrt.py index ce5c7c10..35415d1b 100644 --- a/sos/plugins/abrt.py +++ b/sos/plugins/abrt.py @@ -17,7 +17,7 @@ from sos.plugins import Plugin, RedHatPlugin from os.path import exists -class abrt(Plugin, RedHatPlugin): +class Abrt(Plugin, RedHatPlugin): """ABRT log dump """ diff --git a/sos/plugins/acpid.py b/sos/plugins/acpid.py index c49da2d3..9a2d1236 100644 --- a/sos/plugins/acpid.py +++ b/sos/plugins/acpid.py @@ -14,10 +14,10 @@ from sos.plugins import Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin -class acpid(Plugin): +class Acpid(Plugin): plugin_name = "acpid" -class RedHatAcpid(acpid, RedHatPlugin): +class RedHatAcpid(Acpid, RedHatPlugin): """acpid related information """ def setup(self): @@ -25,7 +25,7 @@ class RedHatAcpid(acpid, RedHatPlugin): "/var/log/acpid*", "/etc/acpi/events/power.conf"]) -class DebianAcpid(acpid, DebianPlugin, UbuntuPlugin): +class DebianAcpid(Acpid, DebianPlugin, UbuntuPlugin): """acpid related information for Debian and Ubuntu """ def setup(self): diff --git a/sos/plugins/amd.py b/sos/plugins/amd.py index d13f0db0..7258a4a8 100644 --- a/sos/plugins/amd.py +++ b/sos/plugins/amd.py @@ -16,7 +16,7 @@ from sos.plugins import Plugin, RedHatPlugin -class amd(Plugin, RedHatPlugin): +class Amd(Plugin, RedHatPlugin): """Amd automounter information """ files = ('/etc/rc.d/init.d/amd',) diff --git a/sos/plugins/anaconda.py b/sos/plugins/anaconda.py index 2a6d9983..dd5f9760 100644 --- a/sos/plugins/anaconda.py +++ b/sos/plugins/anaconda.py @@ -15,7 +15,7 @@ from sos.plugins import Plugin, RedHatPlugin import os -class anaconda(Plugin, RedHatPlugin): +class Anaconda(Plugin, RedHatPlugin): """Anaconda / Installation information """ diff --git a/sos/plugins/apache.py b/sos/plugins/apache.py index 0076534f..d889125a 100644 --- a/sos/plugins/apache.py +++ b/sos/plugins/apache.py @@ -14,14 +14,14 @@ from sos.plugins import Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin -class apache(Plugin): +class Apache(Plugin): """Apache related information """ plugin_name = "apache" option_list = [("log", "gathers all apache logs", "slow", False)] -class RedHatApache(apache, RedHatPlugin): +class RedHatApache(Apache, RedHatPlugin): """Apache related information for Red Hat distributions """ files = ('/etc/httpd/conf/httpd.conf',) @@ -38,7 +38,7 @@ class RedHatApache(apache, RedHatPlugin): if self.get_option("log"): self.add_copy_spec("/var/log/httpd/*") -class DebianApache(apache, DebianPlugin, UbuntuPlugin): +class DebianApache(Apache, DebianPlugin, UbuntuPlugin): """Apache related information for Debian distributions """ files = ('/etc/apache2/apache2.conf',) diff --git a/sos/plugins/apparmor.py b/sos/plugins/apparmor.py index cae61c19..29ea02a9 100644 --- a/sos/plugins/apparmor.py +++ b/sos/plugins/apparmor.py @@ -15,7 +15,7 @@ from sos.plugins import Plugin, UbuntuPlugin -class apparmor(Plugin, UbuntuPlugin): +class Apparmor(Plugin, UbuntuPlugin): """Apparmor related information """ def setup(self): diff --git a/sos/plugins/apport.py b/sos/plugins/apport.py index 7ae319cc..f565261d 100644 --- a/sos/plugins/apport.py +++ b/sos/plugins/apport.py @@ -15,7 +15,7 @@ from sos.plugins import Plugin, DebianPlugin, UbuntuPlugin -class apport(Plugin, DebianPlugin, UbuntuPlugin): +class Apport(Plugin, DebianPlugin, UbuntuPlugin): """apport information """ def setup(self): diff --git a/sos/plugins/auditd.py b/sos/plugins/auditd.py index 41bd8605..27dda2ba 100644 --- a/sos/plugins/auditd.py +++ b/sos/plugins/auditd.py @@ -14,7 +14,7 @@ from sos.plugins import Plugin, RedHatPlugin -class auditd(Plugin, RedHatPlugin): +class Auditd(Plugin, RedHatPlugin): """Auditd related information """ diff --git a/sos/plugins/autofs.py b/sos/plugins/autofs.py index abf90b0f..fe3d069a 100644 --- a/sos/plugins/autofs.py +++ b/sos/plugins/autofs.py @@ -17,7 +17,7 @@ from sos.plugins import Plugin, RedHatPlugin, UbuntuPlugin, DebianPlugin import os, re -class autofs(Plugin): +class Autofs(Plugin): """autofs server-related information """ @@ -53,14 +53,14 @@ class autofs(Plugin): if self.checkdebug(): self.add_copy_spec(self.getdaemondebug()) -class RedHatAutofs(autofs, RedHatPlugin): +class RedHatAutofs(Autofs, RedHatPlugin): """autofs server-related on RedHat based distributions""" def setup(self): super(RedHatAutofs, self).setup() self.add_cmd_output("/bin/rpm -qV autofs") -class DebianAutofs(autofs, DebianPlugin, UbuntuPlugin): +class DebianAutofs(Autofs, DebianPlugin, UbuntuPlugin): """autofs server-related on Debian based distributions""" def setup(self): diff --git a/sos/plugins/bootloader.py b/sos/plugins/bootloader.py index 80a2f705..352d4983 100644 --- a/sos/plugins/bootloader.py +++ b/sos/plugins/bootloader.py @@ -14,7 +14,7 @@ from sos.plugins import Plugin, RedHatPlugin, UbuntuPlugin -class bootloader(Plugin, RedHatPlugin, UbuntuPlugin): +class Bootloader(Plugin, RedHatPlugin, UbuntuPlugin): """Bootloader information """ def setup(self): diff --git a/sos/plugins/ceph.py b/sos/plugins/ceph.py index 7ee3bc07..c4cf8aa0 100644 --- a/sos/plugins/ceph.py +++ b/sos/plugins/ceph.py @@ -14,7 +14,7 @@ from sos.plugins import Plugin, RedHatPlugin, UbuntuPlugin -class ceph(Plugin, RedHatPlugin, UbuntuPlugin): +class Ceph(Plugin, RedHatPlugin, UbuntuPlugin): """information on CEPH """ option_list = [("log", "gathers all ceph logs", "slow", False)] diff --git a/sos/plugins/cgroups.py b/sos/plugins/cgroups.py index 72344c2f..1027c04e 100644 --- a/sos/plugins/cgroups.py +++ b/sos/plugins/cgroups.py @@ -14,13 +14,13 @@ from sos.plugins import Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin -class cgroups(Plugin): +class Cgroups(Plugin): """cgroup subsystem information """ plugin_name = "cgroups" -class DebianCgroups(cgroups, DebianPlugin, UbuntuPlugin): +class DebianCgroups(Cgroups, DebianPlugin, UbuntuPlugin): files = ('/proc/cgroups',) @@ -29,7 +29,7 @@ class DebianCgroups(cgroups, DebianPlugin, UbuntuPlugin): "/sys/fs/cgroup"]) return -class RedHatCgroups(cgroups, RedHatPlugin): +class RedHatCgroups(Cgroups, RedHatPlugin): """Red Hat specific cgroup subsystem information """ diff --git a/sos/plugins/cloudforms.py b/sos/plugins/cloudforms.py index aa2b2090..d79ef814 100644 --- a/sos/plugins/cloudforms.py +++ b/sos/plugins/cloudforms.py @@ -16,7 +16,7 @@ from sos.plugins import Plugin, RedHatPlugin import os -class cloudforms(Plugin, RedHatPlugin): +class Cloudforms(Plugin, RedHatPlugin): """CloudForms related information """ diff --git a/sos/plugins/cluster.py b/sos/plugins/cluster.py index 2383b370..6e306d29 100644 --- a/sos/plugins/cluster.py +++ b/sos/plugins/cluster.py @@ -16,7 +16,7 @@ from sos.plugins import Plugin, RedHatPlugin import os, re from glob import glob -class cluster(Plugin, RedHatPlugin): +class Cluster(Plugin, RedHatPlugin): """cluster suite and GFS related information """ diff --git a/sos/plugins/cobbler.py b/sos/plugins/cobbler.py index 3d8c9faf..e3d289e2 100644 --- a/sos/plugins/cobbler.py +++ b/sos/plugins/cobbler.py @@ -14,10 +14,10 @@ from sos.plugins import Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin -class cobbler(Plugin): +class Cobbler(Plugin): plugin_name = "cobbler" -class RedHatCobbler(cobbler, RedHatPlugin): +class RedHatCobbler(Cobbler, RedHatPlugin): """cobbler related information """ @@ -29,7 +29,7 @@ class RedHatCobbler(cobbler, RedHatPlugin): self.add_copy_spec("/var/lib/rhn/kickstarts") self.add_copy_spec("/var/lib/cobbler") -class DebianCobbler(cobbler, DebianPlugin, UbuntuPlugin): +class DebianCobbler(Cobbler, DebianPlugin, UbuntuPlugin): """cobbler related information for Debian and Ubuntu """ |