From builds at travis-ci.org Wed Jul 1 10:28:04 2015 From: builds at travis-ci.org (Travis CI) Date: Wed, 01 Jul 2015 10:28:04 +0000 Subject: [sos-devel] Passed: sosreport/sos#984 (pmoravec-ceph-update - b4e9e3c) In-Reply-To: Message-ID: <5593c0b35dc0_393a004266198@f5682321-ee45-4d2a-a2d4-7d21820bb205.mail> Build Update for sosreport/sos ------------------------------------- Build: #984 Status: Passed Duration: 19 seconds Commit: b4e9e3c (pmoravec-ceph-update) Author: Pavel Moravec Message: [ceph] add logs, report and calamari conf Add calamari and radosgw logs, calamari config Add & update few ceph commands output Resolves: #496 Resolves: rhbz#1210527 Signed-off-by: Brad Hubbard Signed-off-by: Pavel Moravec View the changeset: https://github.com/sosreport/sos/commit/b4e9e3c27231 View the full build log and details: https://travis-ci.org/sosreport/sos/builds/69113894 -- You can configure recipients for build notifications in your .travis.yml file. See http://docs.travis-ci.com/user/notifications -------------- next part -------------- An HTML attachment was scrubbed... URL: From kamalesh at linux.vnet.ibm.com Thu Jul 2 06:30:14 2015 From: kamalesh at linux.vnet.ibm.com (Kamalesh Babulal) Date: Thu, 2 Jul 2015 12:00:14 +0530 Subject: [sos-devel] [RFC PATCH] [iprconfig] Enable iprconfig to run on ppc64le Message-ID: <1435818614-30433-1-git-send-email-kamalesh@linux.vnet.ibm.com> iprconfig collects information, only if the underlying platform is 'ppc64'. Modify check_enabled() to regex match on arch(), instead of exact match of string. This enables iprconfig to collect information on ppc64* platforms. Signed-off-by: Kamalesh Babulal --- sos/plugins/iprconfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sos/plugins/iprconfig.py b/sos/plugins/iprconfig.py index b77c192..687d8d5 100644 --- a/sos/plugins/iprconfig.py +++ b/sos/plugins/iprconfig.py @@ -28,7 +28,7 @@ class IprConfig(Plugin, RedHatPlugin, UbuntuPlugin, DebianPlugin): def check_enabled(self): arch = self.policy().get_arch() - return arch == "ppc64" and is_executable("iprconfig") + return "ppc64" in arch and is_executable("iprconfig") def setup(self): self.add_cmd_output([ -- 2.1.2 From bmr at redhat.com Fri Jul 3 11:20:33 2015 From: bmr at redhat.com (Bryn M. Reeves) Date: Fri, 3 Jul 2015 12:20:33 +0100 Subject: [sos-devel] [RFC PATCH] [iprconfig] Enable iprconfig to run on ppc64le In-Reply-To: <1435818614-30433-1-git-send-email-kamalesh@linux.vnet.ibm.com> References: <1435818614-30433-1-git-send-email-kamalesh@linux.vnet.ibm.com> Message-ID: <20150703112033.GB30023@localhost.localdomain> On Thu, Jul 02, 2015 at 12:00:14PM +0530, Kamalesh Babulal wrote: > iprconfig collects information, only if the underlying > platform is 'ppc64'. Modify check_enabled() to regex match > on arch(), instead of exact match of string. > > This enables iprconfig to collect information on ppc64* > platforms. > > Signed-off-by: Kamalesh Babulal Merged as commit f2d9cc5, thanks! Regards, Bryn. From bmr at redhat.com Fri Jul 3 11:28:29 2015 From: bmr at redhat.com (Bryn M. Reeves) Date: Fri, 3 Jul 2015 12:28:29 +0100 Subject: [sos-devel] [RFC PATCH] Add IBM PowerKVM policy In-Reply-To: <1432633880-26010-1-git-send-email-kamalesh@linux.vnet.ibm.com> References: <1432633880-26010-1-git-send-email-kamalesh@linux.vnet.ibm.com> Message-ID: <20150703112829.GC30023@localhost.localdomain> On Tue, May 26, 2015 at 03:21:20PM +0530, Kamalesh Babulal wrote: > Add support for IBM PowerKVM/ZKVM platform, by introducing > PowerKVM/ZKVM policy. It defines PowerKVM/ZKVM specific > details/environment, for sos to validate the environment > and enable plugins to collect information while running over > PowerKVM/ZKVM. Patch also introduces PowerKVM/ZKVM plugin > classes which could be used by plugins, when we add support > for them individually later. > > Signed-off-by: Kamalesh Babulal > Cc: Bryn M. Reeves Thanks! The policy looks good - there are a couple of pep8 errors in the patch though: checking pep8 conformance sos/policies/ibmkvm.py:4:1: E265 block comment should start with '# ' sos/policies/ibmkvm.py:27:1: E302 expected 2 blank lines, found 1 sos/policies/ibmkvm.py:45:43: E703 statement ends with a semicolon sos/policies/ibmkvm.py:51:1: E302 expected 2 blank lines, found 1 sos/policies/ibmkvm.py:69:43: E703 statement ends with a semicolon sos/policies/ibmkvm.py:70:48: E231 missing whitespace after ',' sos/plugins/__init__.py:749:80: E501 line too long (82 > 79 characters) pep8: [FAILED] I'll fix these up before I commit but this should get merged today. Regards, Bryn. From kamalesh at linux.vnet.ibm.com Fri Jul 3 13:39:38 2015 From: kamalesh at linux.vnet.ibm.com (Kamalesh Babulal) Date: Fri, 03 Jul 2015 19:09:38 +0530 Subject: [sos-devel] [RFC PATCH] Add IBM PowerKVM policy In-Reply-To: <20150703112829.GC30023@localhost.localdomain> References: <1432633880-26010-1-git-send-email-kamalesh@linux.vnet.ibm.com> <20150703112829.GC30023@localhost.localdomain> Message-ID: <5596909A.50300@linux.vnet.ibm.com> On 07/03/2015 04:58 PM, Bryn M. Reeves wrote: > On Tue, May 26, 2015 at 03:21:20PM +0530, Kamalesh Babulal wrote: >> Add support for IBM PowerKVM/ZKVM platform, by introducing >> PowerKVM/ZKVM policy. It defines PowerKVM/ZKVM specific >> details/environment, for sos to validate the environment >> and enable plugins to collect information while running over >> PowerKVM/ZKVM. Patch also introduces PowerKVM/ZKVM plugin >> classes which could be used by plugins, when we add support >> for them individually later. >> >> Signed-off-by: Kamalesh Babulal >> Cc: Bryn M. Reeves > Thanks! The policy looks good - there are a couple of pep8 errors in > the patch though: > > checking pep8 conformance > sos/policies/ibmkvm.py:4:1: E265 block comment should start with '# ' > sos/policies/ibmkvm.py:27:1: E302 expected 2 blank lines, found 1 > sos/policies/ibmkvm.py:45:43: E703 statement ends with a semicolon > sos/policies/ibmkvm.py:51:1: E302 expected 2 blank lines, found 1 > sos/policies/ibmkvm.py:69:43: E703 statement ends with a semicolon > sos/policies/ibmkvm.py:70:48: E231 missing whitespace after ',' > sos/plugins/__init__.py:749:80: E501 line too long (82 > 79 characters) > pep8: [FAILED] > > I'll fix these up before I commit but this should get merged today. > > Thanks for fixing them. -- Cheers, Kamalesh. From bmr at redhat.com Fri Jul 3 14:48:05 2015 From: bmr at redhat.com (Bryn M. Reeves) Date: Fri, 3 Jul 2015 15:48:05 +0100 Subject: [sos-devel] [RFC PATCH] Add IBM PowerKVM policy In-Reply-To: <20150703112829.GC30023@localhost.localdomain> References: <1432633880-26010-1-git-send-email-kamalesh@linux.vnet.ibm.com> <20150703112829.GC30023@localhost.localdomain> Message-ID: <20150703144805.GD30023@localhost.localdomain> On Fri, Jul 03, 2015 at 12:28:29PM +0100, Bryn M. Reeves wrote: > On Tue, May 26, 2015 at 03:21:20PM +0530, Kamalesh Babulal wrote: > > Add support for IBM PowerKVM/ZKVM platform, by introducing > > PowerKVM/ZKVM policy. It defines PowerKVM/ZKVM specific > > details/environment, for sos to validate the environment > > and enable plugins to collect information while running over > > PowerKVM/ZKVM. Patch also introduces PowerKVM/ZKVM plugin > > classes which could be used by plugins, when we add support > > for them individually later. > > > > Signed-off-by: Kamalesh Babulal > > Cc: Bryn M. Reeves > > I'll fix these up before I commit but this should get merged today. > Fixed up & pushed as commit 93a9b4d, thanks! Regards, Bryn. From builds at travis-ci.org Fri Jul 3 15:56:10 2015 From: builds at travis-ci.org (Travis CI) Date: Fri, 03 Jul 2015 15:56:10 +0000 Subject: [sos-devel] Broken: sosreport/sos#999 (bmr-openstack_neutron-pkgcheck - 3f8c4b6) In-Reply-To: Message-ID: <5596b099c0a08_3183d1a86913a3@b9fc0110-4472-4bb0-bbb1-6b451663b1a1.mail> Build Update for sosreport/sos ------------------------------------- Build: #999 Status: Broken Duration: 12 seconds Commit: 3f8c4b6 (bmr-openstack_neutron-pkgcheck) Author: Bryn M. Reeves Message: [openstack_neutron] fix legacy component detection test Currently the Neutron plugin will assume it's running on a Neutron (rather than a legacy Quantum) installation if: - '/etc/neutron' exists AND the user specifies quantum=True Otherwise it's assumed to be a Quantum install. This is clearly broken; the sense of the 'openstack_neutron.quantum' part of the test should be inverted. Fixes #420. Signed-off-by: Bryn M. Reeves View the changeset: https://github.com/sosreport/sos/compare/234f0104a887...3f8c4b658c5d View the full build log and details: https://travis-ci.org/sosreport/sos/builds/69459476 -- You can configure recipients for build notifications in your .travis.yml file. See http://docs.travis-ci.com/user/notifications -------------- next part -------------- An HTML attachment was scrubbed... URL: From kamalesh at linux.vnet.ibm.com Mon Jul 6 05:20:35 2015 From: kamalesh at linux.vnet.ibm.com (Kamalesh Babulal) Date: Mon, 6 Jul 2015 10:50:35 +0530 Subject: [sos-devel] [RESEND v2 PATCH] [plugin] fix recursive symlink handling Message-ID: <1436160035-23543-1-git-send-email-kamalesh@linux.vnet.ibm.com> symlink which points to itself, might exist in directories mentioned in plugin(s) for collection/copying. With regular symlink, we could create the link and copy the file but with symlink pointing to itself, we end up in recursive loop. When trying to follow the src, for creating link and copying it. For example: total 0 0 lrwxrwxrwx. 1 root root 14 May 18 09:22 default.xml -> ../default.xml 0 lrwxrwxrwx. 1 root root 7 May 22 05:37 kop.xml -> kop.xml Trying to copying such symlink, will ends up in following exception: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sos/sosreport.py", line 1172, in collect plug.collect() File "/usr/lib/python2.7/site-packages/sos/plugins/__init__.py", line 630, in collect self._collect_copy_specs() File "/usr/lib/python2.7/site-packages/sos/plugins/__init__.py", line 600, in _collect_copy_specs self._do_copy_path(path) File "/usr/lib/python2.7/site-packages/sos/plugins/__init__.py", line 319, in _do_copy_path self._copy_symlink(srcpath) File "/usr/lib/python2.7/site-packages/sos/plugins/__init__.py", line 271, in _copy_symlink self._do_copy_path(absdest) File "/usr/lib/python2.7/site-packages/sos/plugins/__init__.py", line 319, in _do_copy_path self._copy_symlink(srcpath) File "/usr/lib/python2.7/site-packages/sos/plugins/__init__.py", line 261, in _copy_symlink self.archive.add_link(reldest, srcpath) File "/usr/lib/python2.7/site-packages/sos/archive.py", line 198, in add_link os.symlink(source, dest) OSError: [Errno 17] File exists Fix this recursive loop but just creating the link and skip copying the symlink. Signed-off-by: Kamalesh Babulal Cc: Bryn M. Reeves --- v2: - Create the link and skip copying, if both src and dest are same. - Append the symlink to files, copied list. v1: Initial version: Returns, if the source path does not exist. sos/plugins/__init__.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sos/plugins/__init__.py b/sos/plugins/__init__.py index e50e0d3..6ecbd90 100644 --- a/sos/plugins/__init__.py +++ b/sos/plugins/__init__.py @@ -268,7 +268,12 @@ class Plugin(object): # to absolute paths to pass to _do_copy_path. self._log_debug("normalized link target '%s' as '%s'" % (linkdest, absdest)) - self._do_copy_path(absdest) + + # skip recursive copying of symlink pointing to itself. + if (absdest != srcpath): + self._do_copy_path(absdest) + else: + self._log_debug("link '%s' is a self link, skipping..." % linkdest) self.copied_files.append({'srcpath': srcpath, 'dstpath': srcpath, -- 2.1.2 From kamalesh at linux.vnet.ibm.com Mon Jul 6 05:20:55 2015 From: kamalesh at linux.vnet.ibm.com (Kamalesh Babulal) Date: Mon, 6 Jul 2015 10:50:55 +0530 Subject: [sos-devel] [v2 PATCH] Fix vim tags typo in all python source files Message-ID: <1436160055-23587-1-git-send-email-kamalesh@linux.vnet.ibm.com> Fix the spelling of 'set' in vim tags, in all of the python sources files. Signed-off-by: Kamalesh Babulal Cc: Bryn M. Reeves --- v2: - Update the spelling in the new files created, after v1 v1: - Initial posting. __run__.py | 2 +- example_plugins/example.py | 2 +- setup.py | 2 +- sos/archive.py | 2 +- sos/plugins/__init__.py | 2 +- sos/plugins/abrt.py | 2 +- sos/plugins/acpid.py | 2 +- sos/plugins/anaconda.py | 2 +- sos/plugins/anacron.py | 2 +- sos/plugins/apache.py | 2 +- sos/plugins/apparmor.py | 2 +- sos/plugins/apport.py | 2 +- sos/plugins/apt.py | 2 +- sos/plugins/ata.py | 2 +- sos/plugins/auditd.py | 2 +- sos/plugins/autofs.py | 2 +- sos/plugins/azure.py | 2 +- sos/plugins/block.py | 2 +- sos/plugins/boot.py | 2 +- sos/plugins/ceph.py | 2 +- sos/plugins/cgroups.py | 2 +- sos/plugins/chrony.py | 2 +- sos/plugins/cluster.py | 2 +- sos/plugins/cobbler.py | 2 +- sos/plugins/corosync.py | 2 +- sos/plugins/cron.py | 2 +- sos/plugins/cs.py | 2 +- sos/plugins/ctdb.py | 2 +- sos/plugins/cups.py | 2 +- sos/plugins/dbus.py | 2 +- sos/plugins/devicemapper.py | 2 +- sos/plugins/dhcp.py | 2 +- sos/plugins/distupgrade.py | 2 +- sos/plugins/dmraid.py | 2 +- sos/plugins/docker.py | 2 +- sos/plugins/dovecot.py | 2 +- sos/plugins/dpkg.py | 2 +- sos/plugins/ds.py | 2 +- sos/plugins/fcoe.py | 2 +- sos/plugins/filesys.py | 2 +- sos/plugins/firewalld.py | 2 +- sos/plugins/foreman.py | 2 +- sos/plugins/gdm.py | 2 +- sos/plugins/general.py | 2 +- sos/plugins/gluster.py | 2 +- sos/plugins/grub.py | 2 +- sos/plugins/grub2.py | 2 +- sos/plugins/haproxy.py | 2 +- sos/plugins/hardware.py | 2 +- sos/plugins/hpasm.py | 2 +- sos/plugins/hts.py | 2 +- sos/plugins/i18n.py | 2 +- sos/plugins/infiniband.py | 2 +- sos/plugins/ipa.py | 2 +- sos/plugins/ipsec.py | 2 +- sos/plugins/ipvs.py | 2 +- sos/plugins/iscsi.py | 2 +- sos/plugins/iscsitarget.py | 2 +- sos/plugins/java.py | 2 +- sos/plugins/juju.py | 2 +- sos/plugins/kdump.py | 2 +- sos/plugins/keepalived.py | 2 +- sos/plugins/kernel.py | 2 +- sos/plugins/kernelrt.py | 2 +- sos/plugins/keyutils.py | 2 +- sos/plugins/kpatch.py | 2 +- sos/plugins/krb5.py | 2 +- sos/plugins/kvm.py | 2 +- sos/plugins/landscape.py | 2 +- sos/plugins/ldap.py | 2 +- sos/plugins/libraries.py | 2 +- sos/plugins/libvirt.py | 2 +- sos/plugins/lightdm.py | 2 +- sos/plugins/lilo.py | 2 +- sos/plugins/logrotate.py | 2 +- sos/plugins/logs.py | 2 +- sos/plugins/lsbrelease.py | 2 +- sos/plugins/lvm2.py | 2 +- sos/plugins/maas.py | 2 +- sos/plugins/manageiq.py | 2 +- sos/plugins/md.py | 2 +- sos/plugins/megacli.py | 2 +- sos/plugins/memory.py | 2 +- sos/plugins/mongodb.py | 2 +- sos/plugins/mpt.py | 2 +- sos/plugins/mrggrid.py | 2 +- sos/plugins/mrgmessg.py | 2 +- sos/plugins/multipath.py | 2 +- sos/plugins/mysql.py | 2 +- sos/plugins/named.py | 2 +- sos/plugins/navicli.py | 2 +- sos/plugins/networking.py | 2 +- sos/plugins/nfs.py | 2 +- sos/plugins/nfsserver.py | 2 +- sos/plugins/nis.py | 2 +- sos/plugins/nscd.py | 2 +- sos/plugins/ntp.py | 2 +- sos/plugins/numa.py | 2 +- sos/plugins/oddjob.py | 2 +- sos/plugins/openhpi.py | 2 +- sos/plugins/openshift.py | 2 +- sos/plugins/openssl.py | 2 +- sos/plugins/openstack_ceilometer.py | 2 +- sos/plugins/openstack_cinder.py | 2 +- sos/plugins/openstack_glance.py | 2 +- sos/plugins/openstack_heat.py | 2 +- sos/plugins/openstack_horizon.py | 2 +- sos/plugins/openstack_keystone.py | 2 +- sos/plugins/openstack_neutron.py | 2 +- sos/plugins/openstack_nova.py | 2 +- sos/plugins/openstack_sahara.py | 2 +- sos/plugins/openstack_swift.py | 2 +- sos/plugins/openstack_trove.py | 2 +- sos/plugins/openswan.py | 2 +- sos/plugins/openvswitch.py | 2 +- sos/plugins/pam.py | 2 +- sos/plugins/pci.py | 2 +- sos/plugins/pcp.py | 2 +- sos/plugins/postfix.py | 2 +- sos/plugins/postgresql.py | 2 +- sos/plugins/powerpath.py | 2 +- sos/plugins/powerpc.py | 2 +- sos/plugins/ppp.py | 2 +- sos/plugins/procenv.py | 2 +- sos/plugins/process.py | 2 +- sos/plugins/processor.py | 2 +- sos/plugins/psacct.py | 2 +- sos/plugins/puppet.py | 2 +- sos/plugins/pxe.py | 2 +- sos/plugins/python.py | 2 +- sos/plugins/qpid.py | 2 +- sos/plugins/quagga.py | 2 +- sos/plugins/rabbitmq.py | 2 +- sos/plugins/radius.py | 2 +- sos/plugins/rhui.py | 2 +- sos/plugins/rpm.py | 2 +- sos/plugins/s390.py | 2 +- sos/plugins/samba.py | 2 +- sos/plugins/sanlock.py | 2 +- sos/plugins/saphana.py | 2 +- sos/plugins/sapnw.py | 2 +- sos/plugins/sar.py | 2 +- sos/plugins/satellite.py | 2 +- sos/plugins/scsi.py | 2 +- sos/plugins/selinux.py | 2 +- sos/plugins/sendmail.py | 2 +- sos/plugins/smartcard.py | 2 +- sos/plugins/snmp.py | 2 +- sos/plugins/soundcard.py | 2 +- sos/plugins/squid.py | 2 +- sos/plugins/ssh.py | 2 +- sos/plugins/ssmtp.py | 2 +- sos/plugins/sssd.py | 2 +- sos/plugins/startup.py | 2 +- sos/plugins/subscription_manager.py | 2 +- sos/plugins/sunrpc.py | 2 +- sos/plugins/symcli.py | 2 +- sos/plugins/system.py | 2 +- sos/plugins/systemd.py | 2 +- sos/plugins/systemtap.py | 2 +- sos/plugins/sysvipc.py | 2 +- sos/plugins/targetcli.py | 2 +- sos/plugins/teamd.py | 2 +- sos/plugins/tftpserver.py | 2 +- sos/plugins/tomcat.py | 2 +- sos/plugins/tuned.py | 2 +- sos/plugins/udev.py | 2 +- sos/plugins/unity.py | 2 +- sos/plugins/upstart.py | 2 +- sos/plugins/usb.py | 2 +- sos/plugins/veritas.py | 2 +- sos/plugins/vhostmd.py | 2 +- sos/plugins/virsh.py | 2 +- sos/plugins/vmware.py | 2 +- sos/plugins/vsftpd.py | 2 +- sos/plugins/x11.py | 2 +- sos/plugins/xen.py | 2 +- sos/plugins/xfs.py | 2 +- sos/plugins/xinetd.py | 2 +- sos/plugins/yum.py | 2 +- sos/policies/__init__.py | 2 +- sos/policies/debian.py | 2 +- sos/policies/osx.py | 2 +- sos/policies/redhat.py | 2 +- sos/policies/ubuntu.py | 2 +- sos/reporting.py | 2 +- sos/sosreport.py | 2 +- sos/utilities.py | 2 +- tests/archive_tests.py | 2 +- tests/importer_tests.py | 2 +- tests/option_tests.py | 2 +- tests/plugin_tests.py | 2 +- tests/policy_tests.py | 2 +- tests/report_tests.py | 2 +- tests/sosreport_pexpect.py | 2 +- tests/test_exe.py | 2 +- tests/utilities_tests.py | 2 +- 197 files changed, 197 insertions(+), 197 deletions(-) diff --git a/__run__.py b/__run__.py index 0f46807..aa48d82 100755 --- a/__run__.py +++ b/__run__.py @@ -16,4 +16,4 @@ import sys main(sys.argv[1:]) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/example_plugins/example.py b/example_plugins/example.py index 31e8c78..0f55698 100755 --- a/example_plugins/example.py +++ b/example_plugins/example.py @@ -56,4 +56,4 @@ class example(Plugin, RedHatPlugin): self.collectExtOutput("/bin/ps -ef") -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/setup.py b/setup.py index 2064db3..2e74384 100644 --- a/setup.py +++ b/setup.py @@ -71,4 +71,4 @@ setup(name='sosreport', ) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/archive.py b/sos/archive.py index 6ef46a9..617691f 100644 --- a/sos/archive.py +++ b/sos/archive.py @@ -414,4 +414,4 @@ class TarFileArchive(FileCacheArchive): last_error = e raise last_error -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/__init__.py b/sos/plugins/__init__.py index 6ecbd90..dfa463f 100644 --- a/sos/plugins/__init__.py +++ b/sos/plugins/__init__.py @@ -790,4 +790,4 @@ def import_plugin(name, superclasses=None): superclasses = (Plugin,) return import_module(plugin_fqname, superclasses) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/abrt.py b/sos/plugins/abrt.py index c3aa2d8..3a10b30 100644 --- a/sos/plugins/abrt.py +++ b/sos/plugins/abrt.py @@ -46,4 +46,4 @@ class Abrt(Plugin, RedHatPlugin): if self.get_option('backtraces'): self.do_backtraces() -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/acpid.py b/sos/plugins/acpid.py index 7808b39..662f27a 100644 --- a/sos/plugins/acpid.py +++ b/sos/plugins/acpid.py @@ -33,4 +33,4 @@ class DebianAcpid(Acpid, DebianPlugin, UbuntuPlugin): self.add_copy_spec([ "/etc/acpi/events/powerbtn*"]) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/anaconda.py b/sos/plugins/anaconda.py index aea3300..674635e 100644 --- a/sos/plugins/anaconda.py +++ b/sos/plugins/anaconda.py @@ -58,4 +58,4 @@ class Anaconda(Plugin, RedHatPlugin): r"\1********" ) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/anacron.py b/sos/plugins/anacron.py index 92ae1c5..4d52c1a 100644 --- a/sos/plugins/anacron.py +++ b/sos/plugins/anacron.py @@ -25,4 +25,4 @@ class Anacron(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): # just look for the configuration file which is common files = ('/etc/anacrontab',) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/apache.py b/sos/plugins/apache.py index 551b062..d2f3f66 100644 --- a/sos/plugins/apache.py +++ b/sos/plugins/apache.py @@ -65,4 +65,4 @@ class DebianApache(Apache, DebianPlugin, UbuntuPlugin): if self.get_option("log"): self.add_copy_spec("/var/log/apache2/*") -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/apparmor.py b/sos/plugins/apparmor.py index 360f58b..3ebebb3 100644 --- a/sos/plugins/apparmor.py +++ b/sos/plugins/apparmor.py @@ -36,4 +36,4 @@ class Apparmor(Plugin, UbuntuPlugin): "ls -alh /etc/apparmor.d/libvirt", ]) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/apport.py b/sos/plugins/apport.py index 47f6595..231a7ba 100644 --- a/sos/plugins/apport.py +++ b/sos/plugins/apport.py @@ -41,4 +41,4 @@ class Apport(Plugin, DebianPlugin, UbuntuPlugin): self.add_cmd_output("ls -alh /var/crash/") self.add_cmd_output("bash -c 'grep -B 50 -m 1 ProcMaps /var/crash/*'") -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/apt.py b/sos/plugins/apt.py index bd0b336..f2962fc 100644 --- a/sos/plugins/apt.py +++ b/sos/plugins/apt.py @@ -45,4 +45,4 @@ class Apt(Plugin, DebianPlugin, UbuntuPlugin): suggest_filename="apt-cache_policy_details" ) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/ata.py b/sos/plugins/ata.py index 454969f..c4a9785 100644 --- a/sos/plugins/ata.py +++ b/sos/plugins/ata.py @@ -39,4 +39,4 @@ class Ata(Plugin, RedHatPlugin, UbuntuPlugin, DebianPlugin): ]) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/auditd.py b/sos/plugins/auditd.py index 7173f6a..916fcc8 100644 --- a/sos/plugins/auditd.py +++ b/sos/plugins/auditd.py @@ -38,4 +38,4 @@ class Auditd(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): else: self.add_copy_spec("/var/log/audit") -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/autofs.py b/sos/plugins/autofs.py index 3b67867..1262293 100644 --- a/sos/plugins/autofs.py +++ b/sos/plugins/autofs.py @@ -68,4 +68,4 @@ class DebianAutofs(Autofs, DebianPlugin, UbuntuPlugin): super(DebianAutofs, self).setup() self.add_cmd_output("dpkg-query -s autofs") -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/azure.py b/sos/plugins/azure.py index bcf4f19..810b913 100644 --- a/sos/plugins/azure.py +++ b/sos/plugins/azure.py @@ -34,4 +34,4 @@ class Azure(Plugin, UbuntuPlugin): "/sys/module/hv_storvsc/parameters/storvsc_ringbuffer_size" ]) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/block.py b/sos/plugins/block.py index aaacd19..e455784 100644 --- a/sos/plugins/block.py +++ b/sos/plugins/block.py @@ -51,4 +51,4 @@ class Block(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): "fdisk -l %s" % disk_path ]) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/boot.py b/sos/plugins/boot.py index 7173742..9a17899 100644 --- a/sos/plugins/boot.py +++ b/sos/plugins/boot.py @@ -47,4 +47,4 @@ class Boot(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): self.add_cmd_output("lsinitrd %s" % image) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/ceph.py b/sos/plugins/ceph.py index e9db4c6..a20f95f 100644 --- a/sos/plugins/ceph.py +++ b/sos/plugins/ceph.py @@ -61,4 +61,4 @@ class Ceph(Plugin, RedHatPlugin, UbuntuPlugin): self.add_forbidden_path("/var/lib/ceph/*/*keyring") self.add_forbidden_path("/var/lib/ceph/*keyring") -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/cgroups.py b/sos/plugins/cgroups.py index 25d8950..ae69f9f 100644 --- a/sos/plugins/cgroups.py +++ b/sos/plugins/cgroups.py @@ -43,4 +43,4 @@ class RedHatCgroups(Cgroups, RedHatPlugin): "/etc/cgrules.conf" ]) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/chrony.py b/sos/plugins/chrony.py index d2404d4..da8303b 100644 --- a/sos/plugins/chrony.py +++ b/sos/plugins/chrony.py @@ -37,4 +37,4 @@ class Chrony(Plugin, RedHatPlugin): "journalctl -u chronyd" ]) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/cluster.py b/sos/plugins/cluster.py index 084c030..716289d 100644 --- a/sos/plugins/cluster.py +++ b/sos/plugins/cluster.py @@ -174,4 +174,4 @@ class Cluster(Plugin, RedHatPlugin): return -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/cobbler.py b/sos/plugins/cobbler.py index 90d3150..25e7811 100644 --- a/sos/plugins/cobbler.py +++ b/sos/plugins/cobbler.py @@ -47,4 +47,4 @@ class DebianCobbler(Cobbler, DebianPlugin, UbuntuPlugin): ]) self.add_forbidden_path("/var/lib/cobbler/isos") -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/corosync.py b/sos/plugins/corosync.py index 27642a0..1269f21 100644 --- a/sos/plugins/corosync.py +++ b/sos/plugins/corosync.py @@ -62,4 +62,4 @@ class DebianCorosync(Corosync, DebianPlugin, UbuntuPlugin): files = ('/usr/sbin/corosync',) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/cron.py b/sos/plugins/cron.py index 337c625..391659e 100644 --- a/sos/plugins/cron.py +++ b/sos/plugins/cron.py @@ -37,4 +37,4 @@ class Cron(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): self.add_cmd_output("crontab -l -u root", suggest_filename="root_crontab") -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/cs.py b/sos/plugins/cs.py index 2ca4e5b..740c640 100644 --- a/sos/plugins/cs.py +++ b/sos/plugins/cs.py @@ -97,4 +97,4 @@ class CertificateSystem(Plugin, RedHatPlugin): "/var/log/pki-*/system" ]) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/ctdb.py b/sos/plugins/ctdb.py index e1bd78e..09388d2 100644 --- a/sos/plugins/ctdb.py +++ b/sos/plugins/ctdb.py @@ -48,4 +48,4 @@ class RedHatCtdb(Ctdb, RedHatPlugin): super(RedHatCtdb, self).setup() self.add_copy_spec("/etc/sysconfig/ctdb") -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/cups.py b/sos/plugins/cups.py index deae3b4..915a2d8 100644 --- a/sos/plugins/cups.py +++ b/sos/plugins/cups.py @@ -48,4 +48,4 @@ class Cups(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): "lpstat -d" ]) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/dbus.py b/sos/plugins/dbus.py index 2e6a99e..33783f7 100644 --- a/sos/plugins/dbus.py +++ b/sos/plugins/dbus.py @@ -28,4 +28,4 @@ class Dbus(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): ]) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/devicemapper.py b/sos/plugins/devicemapper.py index ba99525..b9a03ee 100644 --- a/sos/plugins/devicemapper.py +++ b/sos/plugins/devicemapper.py @@ -30,4 +30,4 @@ class DeviceMapper(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): "dmsetup ls --tree" ]) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/dhcp.py b/sos/plugins/dhcp.py index 84e96d2..b143864 100644 --- a/sos/plugins/dhcp.py +++ b/sos/plugins/dhcp.py @@ -48,4 +48,4 @@ class UbuntuDhcp(Dhcp, UbuntuPlugin): "/etc/udhcpd.conf" ]) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/distupgrade.py b/sos/plugins/distupgrade.py index 09c7780..9fda95c 100644 --- a/sos/plugins/distupgrade.py +++ b/sos/plugins/distupgrade.py @@ -54,4 +54,4 @@ class RedHatDistUpgrade(DistUpgrade, RedHatPlugin): r"/home/******** path redacted ********" ) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/dmraid.py b/sos/plugins/dmraid.py index b7e2d0d..aa3d5a2 100644 --- a/sos/plugins/dmraid.py +++ b/sos/plugins/dmraid.py @@ -41,4 +41,4 @@ class Dmraid(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): metadata_path = self.get_cmd_output_path("metadata") self.add_cmd_output("dmraid -rD", runat=metadata_path) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/docker.py b/sos/plugins/docker.py index ef4ede0..7a2bf06 100644 --- a/sos/plugins/docker.py +++ b/sos/plugins/docker.py @@ -77,4 +77,4 @@ class UbuntuDocker(Docker, UbuntuPlugin): "/etc/default/docker.io" ]) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/dovecot.py b/sos/plugins/dovecot.py index b7e9772..d8ec424 100644 --- a/sos/plugins/dovecot.py +++ b/sos/plugins/dovecot.py @@ -45,4 +45,4 @@ class DebianDovecot(Dovecot, DebianPlugin, UbuntuPlugin): files = ('/etc/dovecot/README',) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/dpkg.py b/sos/plugins/dpkg.py index 5327dbf..d5c866f 100644 --- a/sos/plugins/dpkg.py +++ b/sos/plugins/dpkg.py @@ -39,4 +39,4 @@ class Dpkg(Plugin, DebianPlugin, UbuntuPlugin): else: self.add_copy_spec("/var/log/dpkg.log*") -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/ds.py b/sos/plugins/ds.py index 2413e43..297bc6f 100644 --- a/sos/plugins/ds.py +++ b/sos/plugins/ds.py @@ -72,4 +72,4 @@ class DirectoryServer(Plugin, RedHatPlugin): "/opt/redhat-ds/slapd-*/logs" ]) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/fcoe.py b/sos/plugins/fcoe.py index 6b847b4..74eac20 100644 --- a/sos/plugins/fcoe.py +++ b/sos/plugins/fcoe.py @@ -36,4 +36,4 @@ class fcoe(Plugin, RedHatPlugin): # interfaces's config files self.add_copy_spec("/etc/fcoe") -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/filesys.py b/sos/plugins/filesys.py index fab9dd3..dcdaee2 100644 --- a/sos/plugins/filesys.py +++ b/sos/plugins/filesys.py @@ -60,4 +60,4 @@ class Filesys(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): r"\1********" ) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/firewalld.py b/sos/plugins/firewalld.py index 31e8337..cd35d00 100644 --- a/sos/plugins/firewalld.py +++ b/sos/plugins/firewalld.py @@ -40,4 +40,4 @@ class FirewallD(Plugin, RedHatPlugin): "firewall-cmd --permanent --list-all-zones" ]) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/foreman.py b/sos/plugins/foreman.py index e50cbdf..6380bd2 100644 --- a/sos/plugins/foreman.py +++ b/sos/plugins/foreman.py @@ -30,4 +30,4 @@ class Foreman(Plugin, RedHatPlugin): path = self.get_cmd_output_path(name="foreman-debug") self.add_cmd_output("%s -g -q -a -d %s" % (cmd, path)) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/gdm.py b/sos/plugins/gdm.py index 6222cea..29f2783 100644 --- a/sos/plugins/gdm.py +++ b/sos/plugins/gdm.py @@ -29,4 +29,4 @@ class Gdm(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): "systemctl status gdm.service" ]) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/general.py b/sos/plugins/general.py index 341d268..861a86c 100644 --- a/sos/plugins/general.py +++ b/sos/plugins/general.py @@ -65,4 +65,4 @@ class DebianGeneral(General, DebianPlugin): "/etc/debian_version" ]) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/gluster.py b/sos/plugins/gluster.py index 1a31395..d12d0ea 100644 --- a/sos/plugins/gluster.py +++ b/sos/plugins/gluster.py @@ -113,4 +113,4 @@ class Gluster(Plugin, RedHatPlugin): self.add_cmd_output("gluster volume status") -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/grub.py b/sos/plugins/grub.py index 18e7b4d..ed1c71a 100644 --- a/sos/plugins/grub.py +++ b/sos/plugins/grub.py @@ -39,4 +39,4 @@ class Grub(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): r"\1\2********" ) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/grub2.py b/sos/plugins/grub2.py index 08700dd..223b7c6 100644 --- a/sos/plugins/grub2.py +++ b/sos/plugins/grub2.py @@ -69,4 +69,4 @@ class Grub2(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): passwd_pbkdf2_sub ) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/haproxy.py b/sos/plugins/haproxy.py index f2975a5..a62b9b0 100644 --- a/sos/plugins/haproxy.py +++ b/sos/plugins/haproxy.py @@ -31,4 +31,4 @@ class HAProxy(Plugin, RedHatPlugin, DebianPlugin): self.add_copy_spec("/var/log/haproxy.log") -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/hardware.py b/sos/plugins/hardware.py index 92c347b..ae06574 100644 --- a/sos/plugins/hardware.py +++ b/sos/plugins/hardware.py @@ -35,4 +35,4 @@ class Hardware(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): self.add_cmd_output("dmidecode", root_symlink="dmidecode") -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/hpasm.py b/sos/plugins/hpasm.py index 4d70887..f9e2e4e 100644 --- a/sos/plugins/hpasm.py +++ b/sos/plugins/hpasm.py @@ -32,4 +32,4 @@ class Hpasm(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): "hpasmcli -s 'show server'" ], timeout=0) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/hts.py b/sos/plugins/hts.py index b8e4d41..81ca03b 100644 --- a/sos/plugins/hts.py +++ b/sos/plugins/hts.py @@ -28,4 +28,4 @@ class HardwareTestSuite(Plugin, RedHatPlugin): "/var/hts" ]) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/i18n.py b/sos/plugins/i18n.py index 5326e2c..0cedfa0 100644 --- a/sos/plugins/i18n.py +++ b/sos/plugins/i18n.py @@ -29,4 +29,4 @@ class I18n(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): ]) self.add_cmd_output("locale") -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/infiniband.py b/sos/plugins/infiniband.py index 687b8d6..c7269ea 100644 --- a/sos/plugins/infiniband.py +++ b/sos/plugins/infiniband.py @@ -48,4 +48,4 @@ class Infiniband(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): return -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/ipa.py b/sos/plugins/ipa.py index d563665..061d296 100644 --- a/sos/plugins/ipa.py +++ b/sos/plugins/ipa.py @@ -92,4 +92,4 @@ class Ipa(Plugin, RedHatPlugin): self.do_file_sub("/etc/named.conf", match, subst) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/ipsec.py b/sos/plugins/ipsec.py index 644109d..ded248a 100644 --- a/sos/plugins/ipsec.py +++ b/sos/plugins/ipsec.py @@ -45,4 +45,4 @@ class DebianIPSec(IPSec, DebianPlugin, UbuntuPlugin): "/etc/default/setkey" ]) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/ipvs.py b/sos/plugins/ipvs.py index 2a4c57f..33a2043 100644 --- a/sos/plugins/ipvs.py +++ b/sos/plugins/ipvs.py @@ -31,4 +31,4 @@ class Ipvs(Plugin, RedHatPlugin, DebianPlugin): "ipvsadm -Lc" ]) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/iscsi.py b/sos/plugins/iscsi.py index 064b2f4..5928a01 100644 --- a/sos/plugins/iscsi.py +++ b/sos/plugins/iscsi.py @@ -42,4 +42,4 @@ class RedHatIscsi(Iscsi, RedHatPlugin): "iscsiadm -m node --op=show" ]) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/iscsitarget.py b/sos/plugins/iscsitarget.py index f9cf223..ae85217 100644 --- a/sos/plugins/iscsitarget.py +++ b/sos/plugins/iscsitarget.py @@ -48,4 +48,4 @@ class DebianIscsiTarget(IscsiTarget, DebianPlugin, UbuntuPlugin): "/etc/default/iscsitarget" ]) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/java.py b/sos/plugins/java.py index fe45d94..3f5042b 100644 --- a/sos/plugins/java.py +++ b/sos/plugins/java.py @@ -29,4 +29,4 @@ class Java(Plugin, RedHatPlugin, UbuntuPlugin, DebianPlugin): self.add_cmd_output("readlink -f /usr/bin/java") -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/juju.py b/sos/plugins/juju.py index b9e052f..7bc73a4 100644 --- a/sos/plugins/juju.py +++ b/sos/plugins/juju.py @@ -96,4 +96,4 @@ class Juju(Plugin, UbuntuPlugin): suggest_filename="juju-env-bundle.yaml") -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/kdump.py b/sos/plugins/kdump.py index 6e64ba0..1d55da5 100644 --- a/sos/plugins/kdump.py +++ b/sos/plugins/kdump.py @@ -51,4 +51,4 @@ class DebianKDump(KDump, DebianPlugin, UbuntuPlugin): "/etc/default/kdump-tools" ]) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/keepalived.py b/sos/plugins/keepalived.py index 20e89ba..04a0a3b 100644 --- a/sos/plugins/keepalived.py +++ b/sos/plugins/keepalived.py @@ -31,4 +31,4 @@ class Keepalived(Plugin, RedHatPlugin): "/etc/sysconfig/keepalived" ]) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/kernel.py b/sos/plugins/kernel.py index 97300e2..7bd98af 100644 --- a/sos/plugins/kernel.py +++ b/sos/plugins/kernel.py @@ -84,4 +84,4 @@ class Kernel(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): "/var/log/dmesg" ]) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/kernelrt.py b/sos/plugins/kernelrt.py index 7358ead..14fa0d2 100644 --- a/sos/plugins/kernelrt.py +++ b/sos/plugins/kernelrt.py @@ -43,4 +43,4 @@ class KernelRT(Plugin, RedHatPlugin): # 0.10.4-5. self.add_cmd_output('tuna -CP') -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/keyutils.py b/sos/plugins/keyutils.py index 3562555..82fe8f5 100644 --- a/sos/plugins/keyutils.py +++ b/sos/plugins/keyutils.py @@ -32,4 +32,4 @@ class Keyutils(Plugin, RedHatPlugin): ]) self.add_cmd_output("keyctl show") -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/kpatch.py b/sos/plugins/kpatch.py index 6ef557e..0c7a21e 100644 --- a/sos/plugins/kpatch.py +++ b/sos/plugins/kpatch.py @@ -37,4 +37,4 @@ class Kpatch(Plugin, RedHatPlugin): self.add_cmd_output("kpatch info " + module) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/krb5.py b/sos/plugins/krb5.py index d9c0c23..21ab01e 100644 --- a/sos/plugins/krb5.py +++ b/sos/plugins/krb5.py @@ -29,4 +29,4 @@ class Krb5(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): self.add_cmd_output("klist -ket /etc/krb5.keytab") -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/kvm.py b/sos/plugins/kvm.py index cb2b85f..8276886 100644 --- a/sos/plugins/kvm.py +++ b/sos/plugins/kvm.py @@ -54,4 +54,4 @@ class Kvm(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): self.call_ext_prog("umount %s" % self.debugfs_path) self._log_error("could not unmount %s" % self.debugfs_path) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/landscape.py b/sos/plugins/landscape.py index 9c74c8c..ae2d323 100644 --- a/sos/plugins/landscape.py +++ b/sos/plugins/landscape.py @@ -79,4 +79,4 @@ class Landscape(Plugin, UbuntuPlugin): r"secret-token = [********]" ) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/ldap.py b/sos/plugins/ldap.py index 1fb62bb..c180a4b 100644 --- a/sos/plugins/ldap.py +++ b/sos/plugins/ldap.py @@ -101,4 +101,4 @@ class DebianLdap(Ldap, DebianPlugin, UbuntuPlugin): r"\1********" ) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/libraries.py b/sos/plugins/libraries.py index 2d0f433..8b86800 100644 --- a/sos/plugins/libraries.py +++ b/sos/plugins/libraries.py @@ -32,4 +32,4 @@ class Libraries(Plugin, RedHatPlugin, UbuntuPlugin): self.add_cmd_output("ldconfig -v -N -X") self.add_cmd_output("ldconfig -p -N -X") -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/libvirt.py b/sos/plugins/libvirt.py index 0b31d31..930fcce 100644 --- a/sos/plugins/libvirt.py +++ b/sos/plugins/libvirt.py @@ -70,4 +70,4 @@ class Libvirt(Plugin, RedHatPlugin, UbuntuPlugin, DebianPlugin): r"\1******\3" ) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/lightdm.py b/sos/plugins/lightdm.py index 191e4e7..4402ccd 100644 --- a/sos/plugins/lightdm.py +++ b/sos/plugins/lightdm.py @@ -44,4 +44,4 @@ class LightDm(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): else: self.add_copy_spec("/var/log/lightdm") -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/lilo.py b/sos/plugins/lilo.py index 3c4e37c..caa1018 100644 --- a/sos/plugins/lilo.py +++ b/sos/plugins/lilo.py @@ -27,4 +27,4 @@ class Lilo(Plugin, RedHatPlugin, UbuntuPlugin): self.add_copy_spec("/etc/lilo.conf") self.add_cmd_output("lilo -q") -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/logrotate.py b/sos/plugins/logrotate.py index 3777026..3be5520 100644 --- a/sos/plugins/logrotate.py +++ b/sos/plugins/logrotate.py @@ -30,4 +30,4 @@ class LogRotate(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): "/var/lib/logrotate.status" ]) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/logs.py b/sos/plugins/logs.py index 3dc8305..4ad1b0f 100644 --- a/sos/plugins/logs.py +++ b/sos/plugins/logs.py @@ -107,4 +107,4 @@ class DebianLogs(Logs, DebianPlugin, UbuntuPlugin): else: self.add_copy_spec("/var/log/") -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/lsbrelease.py b/sos/plugins/lsbrelease.py index 3f3bf40..b97425f 100644 --- a/sos/plugins/lsbrelease.py +++ b/sos/plugins/lsbrelease.py @@ -30,4 +30,4 @@ class LsbRelease(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): root_symlink="lsb-release") self.add_copy_spec("/etc/lsb-release*") -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/lvm2.py b/sos/plugins/lvm2.py index f215cfb..23890e4 100644 --- a/sos/plugins/lvm2.py +++ b/sos/plugins/lvm2.py @@ -74,4 +74,4 @@ class Lvm2(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): elif self.get_option('lvmdump-am'): self.do_lvmdump(metadata=True) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/maas.py b/sos/plugins/maas.py index 051f411..fff5f7b 100644 --- a/sos/plugins/maas.py +++ b/sos/plugins/maas.py @@ -71,4 +71,4 @@ class Maas(Plugin, UbuntuPlugin): self._log_error( "Cannot login into MAAS remote API with provided creds.") -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/manageiq.py b/sos/plugins/manageiq.py index 0fca8e1..50e123c 100644 --- a/sos/plugins/manageiq.py +++ b/sos/plugins/manageiq.py @@ -113,4 +113,4 @@ class ManageIQ(Plugin, RedHatPlugin): os.path.join(self.miq_log_dir, x) for x in self.miq_log_files ]) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/md.py b/sos/plugins/md.py index 6c2ba4a..ad8f080 100644 --- a/sos/plugins/md.py +++ b/sos/plugins/md.py @@ -31,4 +31,4 @@ class Md(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): ]) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/megacli.py b/sos/plugins/megacli.py index 37a72fe..065a36c 100644 --- a/sos/plugins/megacli.py +++ b/sos/plugins/megacli.py @@ -43,4 +43,4 @@ class MegaCLI(Plugin, RedHatPlugin): "MegaCli64 -ShowSummary -a0" ]) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/memory.py b/sos/plugins/memory.py index 1b27eba..69a3cd0 100644 --- a/sos/plugins/memory.py +++ b/sos/plugins/memory.py @@ -39,4 +39,4 @@ class Memory(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): "swapon --show" ]) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/mongodb.py b/sos/plugins/mongodb.py index 9566197..14c51b9 100644 --- a/sos/plugins/mongodb.py +++ b/sos/plugins/mongodb.py @@ -47,4 +47,4 @@ class RedHatMongoDb(MongoDb, RedHatPlugin): super(RedHatMongoDb, self).setup() self.add_copy_spec("/etc/sysconfig/mongodb") -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/mpt.py b/sos/plugins/mpt.py index bb158cc..05ff46b 100644 --- a/sos/plugins/mpt.py +++ b/sos/plugins/mpt.py @@ -27,4 +27,4 @@ class Mpt(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): def setup(self): self.add_copy_spec("/proc/mpt") -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/mrggrid.py b/sos/plugins/mrggrid.py index a5e535d..dd82366 100644 --- a/sos/plugins/mrggrid.py +++ b/sos/plugins/mrggrid.py @@ -28,4 +28,4 @@ class MrgGrid(Plugin, RedHatPlugin): "condor_status" ]) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/mrgmessg.py b/sos/plugins/mrgmessg.py index 3e77bbe..bc0dd04 100644 --- a/sos/plugins/mrgmessg.py +++ b/sos/plugins/mrgmessg.py @@ -29,4 +29,4 @@ class MrgMessg(Plugin, RedHatPlugin): "/var/rhm" ]) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/multipath.py b/sos/plugins/multipath.py index e6b8802..74012a8 100644 --- a/sos/plugins/multipath.py +++ b/sos/plugins/multipath.py @@ -33,4 +33,4 @@ class Multipath(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): ]) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/mysql.py b/sos/plugins/mysql.py index aa8e9b9..99862b8 100644 --- a/sos/plugins/mysql.py +++ b/sos/plugins/mysql.py @@ -109,4 +109,4 @@ class DebianMysql(Mysql, DebianPlugin, UbuntuPlugin): super(DebianMysql, self).setup() self.add_copy_spec("/etc/mysql/conf.d/mysql*") -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/named.py b/sos/plugins/named.py index 2360db4..ec23ea8 100644 --- a/sos/plugins/named.py +++ b/sos/plugins/named.py @@ -85,4 +85,4 @@ class DebianNamed(Named, DebianPlugin, UbuntuPlugin): return -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/navicli.py b/sos/plugins/navicli.py index 3ee7d50..41757e8 100644 --- a/sos/plugins/navicli.py +++ b/sos/plugins/navicli.py @@ -92,4 +92,4 @@ class Navicli(Plugin, RedHatPlugin): SP_address) self.get_navicli_SP_info(SP_address) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/networking.py b/sos/plugins/networking.py index 550fe1c..dac9273 100644 --- a/sos/plugins/networking.py +++ b/sos/plugins/networking.py @@ -240,4 +240,4 @@ class UbuntuNetworking(Networking, UbuntuPlugin, DebianPlugin): self.add_cmd_output("/usr/sbin/traceroute -n %s" % self.trace_host) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/nfs.py b/sos/plugins/nfs.py index 94eef65..c39d475 100644 --- a/sos/plugins/nfs.py +++ b/sos/plugins/nfs.py @@ -32,4 +32,4 @@ class Nfs(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): return -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/nfsserver.py b/sos/plugins/nfsserver.py index 0aef76f..76ac40a 100644 --- a/sos/plugins/nfsserver.py +++ b/sos/plugins/nfsserver.py @@ -58,4 +58,4 @@ class NfsServer(Plugin, RedHatPlugin): ]) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/nis.py b/sos/plugins/nis.py index e22770c..4505f13 100644 --- a/sos/plugins/nis.py +++ b/sos/plugins/nis.py @@ -31,4 +31,4 @@ class Nis(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): ]) self.add_cmd_output("domainname") -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/nscd.py b/sos/plugins/nscd.py index e35d372..2acfff9 100644 --- a/sos/plugins/nscd.py +++ b/sos/plugins/nscd.py @@ -37,4 +37,4 @@ class Nscd(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): self.add_copy_spec_limit(f[1], sizelimit=self.get_option("log_size")) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/ntp.py b/sos/plugins/ntp.py index 401b5df..92c324e 100644 --- a/sos/plugins/ntp.py +++ b/sos/plugins/ntp.py @@ -48,4 +48,4 @@ class DebianNtp(Ntp, DebianPlugin, UbuntuPlugin): self.add_copy_spec('/etc/default/ntp') -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/numa.py b/sos/plugins/numa.py index 00cf042..a72143b 100644 --- a/sos/plugins/numa.py +++ b/sos/plugins/numa.py @@ -42,4 +42,4 @@ class Numa(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): "numactl --hardware", ]) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/oddjob.py b/sos/plugins/oddjob.py index ae48b4b..9e76a2e 100644 --- a/sos/plugins/oddjob.py +++ b/sos/plugins/oddjob.py @@ -34,4 +34,4 @@ class Oddjob(Plugin, RedHatPlugin): "/etc/dbus-1/system.d/oddjob.conf" ]) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/openhpi.py b/sos/plugins/openhpi.py index 48740af..3f9b2ca 100644 --- a/sos/plugins/openhpi.py +++ b/sos/plugins/openhpi.py @@ -33,4 +33,4 @@ class OpenHPI(Plugin, RedHatPlugin): r'(\s*[Pp]ass.*\s*=\s*).*', r'\1********') -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/openshift.py b/sos/plugins/openshift.py index f557de7..2a708fb 100644 --- a/sos/plugins/openshift.py +++ b/sos/plugins/openshift.py @@ -148,4 +148,4 @@ class Openshift(Plugin, RedHatPlugin): r"(BIND_KEYVALUE\s*=\s*)(.*)", r"\1********") -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/openssl.py b/sos/plugins/openssl.py index 30bf3a5..f7a458b 100644 --- a/sos/plugins/openssl.py +++ b/sos/plugins/openssl.py @@ -62,4 +62,4 @@ class DebianOpenSSL(OpenSSL, DebianPlugin, UbuntuPlugin): super(DebianOpenSSL, self).setup() self.add_copy_spec("/etc/ssl/openssl.cnf") -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/openstack_ceilometer.py b/sos/plugins/openstack_ceilometer.py index d9d66a5..0d6ebe2 100644 --- a/sos/plugins/openstack_ceilometer.py +++ b/sos/plugins/openstack_ceilometer.py @@ -62,4 +62,4 @@ class RedHatOpenStackCeilometer(OpenStackCeilometer, RedHatPlugin): 'python-ceilometerclient' ) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/openstack_cinder.py b/sos/plugins/openstack_cinder.py index 356480c..b8df2ed 100644 --- a/sos/plugins/openstack_cinder.py +++ b/sos/plugins/openstack_cinder.py @@ -80,4 +80,4 @@ class RedHatOpenStackCinder(OpenStackCinder, RedHatPlugin): self.add_copy_spec(["/etc/sudoers.d/cinder"]) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/openstack_glance.py b/sos/plugins/openstack_glance.py index 2e56c48..a1e5c97 100644 --- a/sos/plugins/openstack_glance.py +++ b/sos/plugins/openstack_glance.py @@ -58,4 +58,4 @@ class RedHatGlance(OpenStackGlance, RedHatPlugin): 'python-glanceclient' ) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/openstack_heat.py b/sos/plugins/openstack_heat.py index 39532b5..47d786f 100644 --- a/sos/plugins/openstack_heat.py +++ b/sos/plugins/openstack_heat.py @@ -62,4 +62,4 @@ class RedHatHeat(OpenStackHeat, RedHatPlugin): 'python-heatclient' ) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/openstack_horizon.py b/sos/plugins/openstack_horizon.py index 46f0031..88aff4e 100644 --- a/sos/plugins/openstack_horizon.py +++ b/sos/plugins/openstack_horizon.py @@ -73,4 +73,4 @@ class RedHatOpenStackHorizon(OpenStackHorizon, RedHatPlugin): if self.get_option("log"): self.add_copy_spec("/var/log/httpd/") -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/openstack_keystone.py b/sos/plugins/openstack_keystone.py index 7df7296..2b5d6fe 100644 --- a/sos/plugins/openstack_keystone.py +++ b/sos/plugins/openstack_keystone.py @@ -73,4 +73,4 @@ class RedHatOpenStackKeystone(OpenStackKeystone, RedHatPlugin): 'python-keystoneclient' ) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/openstack_neutron.py b/sos/plugins/openstack_neutron.py index d37430e..780678e 100644 --- a/sos/plugins/openstack_neutron.py +++ b/sos/plugins/openstack_neutron.py @@ -168,4 +168,4 @@ class RedHatNeutron(Neutron, RedHatPlugin): self.packages = self.gen_pkg_tuple(self.package_list_template) self.add_copy_spec("/etc/sudoers.d/%s-rootwrap" % self.component_name) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/openstack_nova.py b/sos/plugins/openstack_nova.py index d6dbd83..8f00436 100644 --- a/sos/plugins/openstack_nova.py +++ b/sos/plugins/openstack_nova.py @@ -146,4 +146,4 @@ class RedHatOpenStackNova(OpenStackNova, RedHatPlugin): "/etc/sysconfig/openstack-nova-novncproxy" ]) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/openstack_sahara.py b/sos/plugins/openstack_sahara.py index 9d971ba..6a4afec 100644 --- a/sos/plugins/openstack_sahara.py +++ b/sos/plugins/openstack_sahara.py @@ -71,4 +71,4 @@ class RedHatOpenStackSahara(OpenStackSahara, RedHatPlugin): self.add_copy_spec("/etc/sudoers.d/sahara") -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/openstack_swift.py b/sos/plugins/openstack_swift.py index 588fcd0..c09066e 100644 --- a/sos/plugins/openstack_swift.py +++ b/sos/plugins/openstack_swift.py @@ -60,4 +60,4 @@ class RedHatOpenStackSwift(OpenStackSwift, RedHatPlugin): 'python-swiftclient' ) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/openstack_trove.py b/sos/plugins/openstack_trove.py index 7c8b661..43c8460 100644 --- a/sos/plugins/openstack_trove.py +++ b/sos/plugins/openstack_trove.py @@ -71,4 +71,4 @@ class RedHatOpenStackTrove(OpenStackTrove, RedHatPlugin): def setup(self): super(RedHatOpenStackTrove, self).setup() -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/openswan.py b/sos/plugins/openswan.py index 0e2d3f2..c1b2819 100644 --- a/sos/plugins/openswan.py +++ b/sos/plugins/openswan.py @@ -42,4 +42,4 @@ class Openswan(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): if self.get_option("ipsec-barf"): self.add_cmd_output("ipsec barf") -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/openvswitch.py b/sos/plugins/openvswitch.py index 5200563..1814896 100644 --- a/sos/plugins/openvswitch.py +++ b/sos/plugins/openvswitch.py @@ -51,4 +51,4 @@ class DebianOpenVSwitch(OpenVSwitch, DebianPlugin, UbuntuPlugin): packages = ('openvswitch-switch',) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/pam.py b/sos/plugins/pam.py index 28b6a24..f548b7f 100644 --- a/sos/plugins/pam.py +++ b/sos/plugins/pam.py @@ -49,4 +49,4 @@ class DebianPam(Pam, DebianPlugin, UbuntuPlugin): super(DebianPam, self).setup() -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/pci.py b/sos/plugins/pci.py index 304b3e9..abfd4f6 100644 --- a/sos/plugins/pci.py +++ b/sos/plugins/pci.py @@ -32,4 +32,4 @@ class Pci(Plugin, RedHatPlugin, UbuntuPlugin, DebianPlugin): self.add_cmd_output("lspci -nnvv", root_symlink="lspci") self.add_cmd_output("lspci -tv") -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/pcp.py b/sos/plugins/pcp.py index 69872a3..ae4871b 100644 --- a/sos/plugins/pcp.py +++ b/sos/plugins/pcp.py @@ -156,4 +156,4 @@ class Pcp(Plugin, RedHatPlugin, DebianPlugin): self.add_cmd_output("pcp") -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/postfix.py b/sos/plugins/postfix.py index efb9558..83f818a 100644 --- a/sos/plugins/postfix.py +++ b/sos/plugins/postfix.py @@ -49,4 +49,4 @@ class DebianPostfix(Postfix, DebianPlugin, UbuntuPlugin): super(DebianPostfix, self).setup() self.add_copy_spec("/etc/postfix/dynamicmaps.cf") -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/postgresql.py b/sos/plugins/postgresql.py index 0718739..e6e3711 100644 --- a/sos/plugins/postgresql.py +++ b/sos/plugins/postgresql.py @@ -146,4 +146,4 @@ class DebianPostgreSQL(PostgreSQL, DebianPlugin, UbuntuPlugin): ]) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/powerpath.py b/sos/plugins/powerpath.py index 5369280..bc54849 100644 --- a/sos/plugins/powerpath.py +++ b/sos/plugins/powerpath.py @@ -60,4 +60,4 @@ class PowerPath(Plugin, RedHatPlugin): if os.path.isdir("/proc/emcp"): self.get_pp_config() -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/powerpc.py b/sos/plugins/powerpc.py index 39b52f6..e752e94 100644 --- a/sos/plugins/powerpc.py +++ b/sos/plugins/powerpc.py @@ -92,4 +92,4 @@ class PowerPC(Plugin, RedHatPlugin, UbuntuPlugin, DebianPlugin): self.add_cmd_output("ls -l /var/log/dump") -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/ppp.py b/sos/plugins/ppp.py index 705e386..dc43054 100644 --- a/sos/plugins/ppp.py +++ b/sos/plugins/ppp.py @@ -34,4 +34,4 @@ class Ppp(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): ]) self.add_cmd_output("adsl-status") -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/procenv.py b/sos/plugins/procenv.py index 57f45a6..be43970 100644 --- a/sos/plugins/procenv.py +++ b/sos/plugins/procenv.py @@ -26,4 +26,4 @@ class Procenv(Plugin, DebianPlugin, UbuntuPlugin): def setup(self): self.add_cmd_output('procenv') -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/process.py b/sos/plugins/process.py index cae8443..bca6bdc 100644 --- a/sos/plugins/process.py +++ b/sos/plugins/process.py @@ -32,4 +32,4 @@ class Process(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): "ps alxwww" ]) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/processor.py b/sos/plugins/processor.py index 19aca46..768f1b5 100644 --- a/sos/plugins/processor.py +++ b/sos/plugins/processor.py @@ -42,4 +42,4 @@ class Processor(Plugin, RedHatPlugin, UbuntuPlugin, DebianPlugin): self.add_cmd_output("x86info -a") -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/psacct.py b/sos/plugins/psacct.py index 026f665..f144e96 100644 --- a/sos/plugins/psacct.py +++ b/sos/plugins/psacct.py @@ -49,4 +49,4 @@ class DebianPsacct(Psacct, DebianPlugin, UbuntuPlugin): if self.get_option("all"): self.add_copy_spec("/var/log/account/pacct*.gz") -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/puppet.py b/sos/plugins/puppet.py index 4da95a2..adc988c 100644 --- a/sos/plugins/puppet.py +++ b/sos/plugins/puppet.py @@ -40,4 +40,4 @@ class Puppet(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): ) return -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/pxe.py b/sos/plugins/pxe.py index b7f1cfa..f2ae576 100644 --- a/sos/plugins/pxe.py +++ b/sos/plugins/pxe.py @@ -50,4 +50,4 @@ class DebianPxe(Pxe, DebianPlugin, UbuntuPlugin): if self.get_option("tftpboot"): self.add_copy_spec("/var/lib/tftpboot") -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/python.py b/sos/plugins/python.py index e143d1e..83009bc 100644 --- a/sos/plugins/python.py +++ b/sos/plugins/python.py @@ -29,4 +29,4 @@ class Python(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): def setup(self): self.add_cmd_output("python -V", suggest_filename="python-version") -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/qpid.py b/sos/plugins/qpid.py index 5493106..1d7bead 100644 --- a/sos/plugins/qpid.py +++ b/sos/plugins/qpid.py @@ -65,4 +65,4 @@ class Qpid(Plugin, RedHatPlugin): "/var/log/cumin" ]) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/quagga.py b/sos/plugins/quagga.py index 9ed00cd..a7a5d74 100644 --- a/sos/plugins/quagga.py +++ b/sos/plugins/quagga.py @@ -30,4 +30,4 @@ class Quagga(Plugin, RedHatPlugin): def setup(self): self.add_copy_spec("/etc/quagga/") -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/rabbitmq.py b/sos/plugins/rabbitmq.py index d5f1917..283746c 100644 --- a/sos/plugins/rabbitmq.py +++ b/sos/plugins/rabbitmq.py @@ -31,4 +31,4 @@ class RabbitMQ(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): self.add_copy_spec("/etc/rabbitmq/*") self.add_copy_spec_limit("/var/log/rabbitmq/*", sizelimit=self.get_option('log_size')) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/radius.py b/sos/plugins/radius.py index d8a56b4..34f465c 100644 --- a/sos/plugins/radius.py +++ b/sos/plugins/radius.py @@ -56,4 +56,4 @@ class DebianRadius(Radius, DebianPlugin, UbuntuPlugin): "/var/log/freeradius" ]) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/rhui.py b/sos/plugins/rhui.py index c8ae0b7..d569f09 100644 --- a/sos/plugins/rhui.py +++ b/sos/plugins/rhui.py @@ -40,4 +40,4 @@ class Rhui(Plugin, RedHatPlugin): suggest_filename="rhui-debug") return -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/rpm.py b/sos/plugins/rpm.py index ee9d4d5..5e245bc 100644 --- a/sos/plugins/rpm.py +++ b/sos/plugins/rpm.py @@ -65,4 +65,4 @@ class Rpm(Plugin, RedHatPlugin): self.add_cmd_output("rpm -V %s" % verify_pkgs) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/s390.py b/sos/plugins/s390.py index 9ffc2af..f9d32e9 100644 --- a/sos/plugins/s390.py +++ b/sos/plugins/s390.py @@ -71,4 +71,4 @@ class S390(Plugin, RedHatPlugin): ]) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/samba.py b/sos/plugins/samba.py index e33876c..53b5bb9 100644 --- a/sos/plugins/samba.py +++ b/sos/plugins/samba.py @@ -42,4 +42,4 @@ class RedHatSamba(Samba, RedHatPlugin): super(RedHatSamba, self).setup() self.add_copy_spec("/etc/sysconfig/samba") -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/sanlock.py b/sos/plugins/sanlock.py index cc14449..eef9fcf 100644 --- a/sos/plugins/sanlock.py +++ b/sos/plugins/sanlock.py @@ -40,4 +40,4 @@ class RedHatSANLock(SANLock, RedHatPlugin): super(RedHatSANLock, self).setup() self.add_copy_spec("/etc/sysconfig/sanlock") -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/saphana.py b/sos/plugins/saphana.py index 2ff26f5..f737410 100644 --- a/sos/plugins/saphana.py +++ b/sos/plugins/saphana.py @@ -81,4 +81,4 @@ class saphana(Plugin, RedHatPlugin): % (sid, inst) ) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/sapnw.py b/sos/plugins/sapnw.py index e18978f..3157158 100644 --- a/sos/plugins/sapnw.py +++ b/sos/plugins/sapnw.py @@ -141,4 +141,4 @@ class sapnw(Plugin, RedHatPlugin): self.add_cmd_output( "/usr/bin/sapconf -n", suggest_filename="sapconf_checkmode") -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/sar.py b/sos/plugins/sar.py index 16cafe5..237555f 100644 --- a/sos/plugins/sar.py +++ b/sos/plugins/sar.py @@ -83,4 +83,4 @@ class DebianSar(Sar, DebianPlugin, UbuntuPlugin): sa_path = '/var/log/sysstat' -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/satellite.py b/sos/plugins/satellite.py index fef2f14..fe1c675 100644 --- a/sos/plugins/satellite.py +++ b/sos/plugins/satellite.py @@ -86,4 +86,4 @@ class Satellite(Plugin, RedHatPlugin): if self.proxy: self.add_copy_spec(["/etc/squid", "/var/log/squid"]) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/scsi.py b/sos/plugins/scsi.py index 9452054..b204d98 100644 --- a/sos/plugins/scsi.py +++ b/sos/plugins/scsi.py @@ -38,4 +38,4 @@ class Scsi(Plugin, RedHatPlugin, UbuntuPlugin, DebianPlugin): "sg_map" ]) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/selinux.py b/sos/plugins/selinux.py index 9647b06..74d547d 100644 --- a/sos/plugins/selinux.py +++ b/sos/plugins/selinux.py @@ -49,4 +49,4 @@ class SELinux(Plugin, RedHatPlugin): ]) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/sendmail.py b/sos/plugins/sendmail.py index e88d978..410421e 100644 --- a/sos/plugins/sendmail.py +++ b/sos/plugins/sendmail.py @@ -52,4 +52,4 @@ class DebianSendmail(Sendmail, DebianPlugin, UbuntuPlugin): "/var/log/mail.*" ]) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/smartcard.py b/sos/plugins/smartcard.py index e92f188..40aa4b2 100644 --- a/sos/plugins/smartcard.py +++ b/sos/plugins/smartcard.py @@ -38,4 +38,4 @@ class Smartcard(Plugin, RedHatPlugin): "ls -nl /usr/lib*/pam_pkcs11/" ]) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/snmp.py b/sos/plugins/snmp.py index 5d470b5..9d582cc 100644 --- a/sos/plugins/snmp.py +++ b/sos/plugins/snmp.py @@ -44,4 +44,4 @@ class DebianSnmp(Snmp, DebianPlugin, UbuntuPlugin): def setup(self): super(DebianSnmp, self).setup() -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/soundcard.py b/sos/plugins/soundcard.py index 1ebde60..50dad47 100644 --- a/sos/plugins/soundcard.py +++ b/sos/plugins/soundcard.py @@ -49,4 +49,4 @@ class DebianSoundcard(Soundcard, DebianPlugin, UbuntuPlugin): self.add_copy_spec("/etc/pulse/*") -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/squid.py b/sos/plugins/squid.py index a995158..57df100 100644 --- a/sos/plugins/squid.py +++ b/sos/plugins/squid.py @@ -51,4 +51,4 @@ class DebianSquid(Squid, DebianPlugin, UbuntuPlugin): self.add_copy_spec(['/etc/squid-deb-proxy']) self.add_copy_spec_limit("/var/log/squid-deb-proxy/*", sizelimit=self.get_option('log_size')) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/ssh.py b/sos/plugins/ssh.py index f5cd625..eec2672 100644 --- a/sos/plugins/ssh.py +++ b/sos/plugins/ssh.py @@ -30,4 +30,4 @@ class Ssh(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): "/etc/ssh/sshd_config" ]) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/ssmtp.py b/sos/plugins/ssmtp.py index 14653e6..e25e892 100644 --- a/sos/plugins/ssmtp.py +++ b/sos/plugins/ssmtp.py @@ -39,4 +39,4 @@ class Ssmtp(Plugin, RedHatPlugin): r'AuthPass=********' ) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/sssd.py b/sos/plugins/sssd.py index 25fe61d..ec9ba95 100644 --- a/sos/plugins/sssd.py +++ b/sos/plugins/sssd.py @@ -49,4 +49,4 @@ class DebianSssd(Sssd, DebianPlugin, UbuntuPlugin): super(DebianSssd, self).setup() self.add_copy_spec("/etc/default/sssd") -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/startup.py b/sos/plugins/startup.py index 4bf4511..cd66a02 100644 --- a/sos/plugins/startup.py +++ b/sos/plugins/startup.py @@ -53,4 +53,4 @@ class DebianStartup(Startup, DebianPlugin, UbuntuPlugin): if self.get_option('servicestatus'): self.add_cmd_output("/sbin/initctl list") -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/subscription_manager.py b/sos/plugins/subscription_manager.py index 8ba65d8..01f5d0c 100644 --- a/sos/plugins/subscription_manager.py +++ b/sos/plugins/subscription_manager.py @@ -40,4 +40,4 @@ class SubscriptionManager(Plugin, RedHatPlugin): "--no-subscriptions --destination %s" % self.get_cmd_output_path()) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/sunrpc.py b/sos/plugins/sunrpc.py index 6c97fab..9d38fe5 100644 --- a/sos/plugins/sunrpc.py +++ b/sos/plugins/sunrpc.py @@ -52,4 +52,4 @@ class RedHatSunRPC(SunRPC, RedHatPlugin): # self.add_cmd_output("rpcinfo -p localhost") # return -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/symcli.py b/sos/plugins/symcli.py index fd9c896..875ad5b 100644 --- a/sos/plugins/symcli.py +++ b/sos/plugins/symcli.py @@ -93,4 +93,4 @@ class Symcli(Plugin, RedHatPlugin): self.get_symcli_files() self.get_symcli_config() -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/system.py b/sos/plugins/system.py index e25aed7..22aa83c 100644 --- a/sos/plugins/system.py +++ b/sos/plugins/system.py @@ -30,4 +30,4 @@ class System(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): "/proc/sys/net/ipv6/neigh/*/base_reachable_time") -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/systemd.py b/sos/plugins/systemd.py index a211fd2..d4ddee6 100644 --- a/sos/plugins/systemd.py +++ b/sos/plugins/systemd.py @@ -54,4 +54,4 @@ class Systemd(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): "/etc/yum/protected.d/systemd.conf" ]) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/systemtap.py b/sos/plugins/systemtap.py index 58e1f68..fe86ede 100644 --- a/sos/plugins/systemtap.py +++ b/sos/plugins/systemtap.py @@ -34,4 +34,4 @@ class SystemTap(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): "stap-report" ]) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/sysvipc.py b/sos/plugins/sysvipc.py index 75b79b5..79903d5 100644 --- a/sos/plugins/sysvipc.py +++ b/sos/plugins/sysvipc.py @@ -31,4 +31,4 @@ class SysVIPC(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): ]) self.add_cmd_output("ipcs") -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/targetcli.py b/sos/plugins/targetcli.py index 823904d..c160603 100644 --- a/sos/plugins/targetcli.py +++ b/sos/plugins/targetcli.py @@ -33,4 +33,4 @@ class TargetCli(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): ]) self.add_copy_spec("/etc/target") -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/teamd.py b/sos/plugins/teamd.py index 284d23e..6295c2f 100644 --- a/sos/plugins/teamd.py +++ b/sos/plugins/teamd.py @@ -51,4 +51,4 @@ class Teamd(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): "teamnl %s ports" % team ]) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/tftpserver.py b/sos/plugins/tftpserver.py index 9c98447..437a1ff 100644 --- a/sos/plugins/tftpserver.py +++ b/sos/plugins/tftpserver.py @@ -30,4 +30,4 @@ class TftpServer(Plugin, RedHatPlugin): def setup(self): self.add_cmd_output("ls -lanR /tftpboot") -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/tomcat.py b/sos/plugins/tomcat.py index 10a634e..85b5d65 100644 --- a/sos/plugins/tomcat.py +++ b/sos/plugins/tomcat.py @@ -41,4 +41,4 @@ class Tomcat(Plugin, RedHatPlugin): r'password="********"' ) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/tuned.py b/sos/plugins/tuned.py index db3639c..28e56f6 100644 --- a/sos/plugins/tuned.py +++ b/sos/plugins/tuned.py @@ -40,4 +40,4 @@ class Tuned(Plugin, RedHatPlugin): "/var/log/tuned/tuned.log" ]) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/udev.py b/sos/plugins/udev.py index 706c671..a45ee3c 100644 --- a/sos/plugins/udev.py +++ b/sos/plugins/udev.py @@ -29,4 +29,4 @@ class Udev(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): "/etc/udev/rules.d/*" ]) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/unity.py b/sos/plugins/unity.py index 26aee01..3b5a8f7 100644 --- a/sos/plugins/unity.py +++ b/sos/plugins/unity.py @@ -30,4 +30,4 @@ class unity(Plugin, UbuntuPlugin): def setup(self): self.add_cmd_output("/usr/lib/nux/unity_support_test -p") -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/upstart.py b/sos/plugins/upstart.py index 7b8b5c0..fc167b9 100644 --- a/sos/plugins/upstart.py +++ b/sos/plugins/upstart.py @@ -50,4 +50,4 @@ class Upstart(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): self.add_copy_spec('/usr/share/upstart/') -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/usb.py b/sos/plugins/usb.py index c34e4bc..d89fa88 100644 --- a/sos/plugins/usb.py +++ b/sos/plugins/usb.py @@ -31,4 +31,4 @@ class Usb(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): "lsusb -t" ]) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/veritas.py b/sos/plugins/veritas.py index 5bbb723..fad4abf 100644 --- a/sos/plugins/veritas.py +++ b/sos/plugins/veritas.py @@ -42,4 +42,4 @@ class Veritas(Plugin, RedHatPlugin): if len(tarfile) == 1: self.add_copy_spec(tarfile[0]) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/vhostmd.py b/sos/plugins/vhostmd.py index 0a86fb5..6a4fed8 100644 --- a/sos/plugins/vhostmd.py +++ b/sos/plugins/vhostmd.py @@ -52,4 +52,4 @@ class vhostmd(Plugin, RedHatPlugin): suggest_filename="virt_\ metrics") -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/virsh.py b/sos/plugins/virsh.py index 0381b39..34defc2 100644 --- a/sos/plugins/virsh.py +++ b/sos/plugins/virsh.py @@ -44,4 +44,4 @@ class LibvirtClient(Plugin, RedHatPlugin, UbuntuPlugin, DebianPlugin): self.add_cmd_output("virsh -r dumpxml %s" % domain.split()[1], timeout=180) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/vmware.py b/sos/plugins/vmware.py index 02c7c1e..e6f83c8 100644 --- a/sos/plugins/vmware.py +++ b/sos/plugins/vmware.py @@ -32,4 +32,4 @@ class VMWare(Plugin, RedHatPlugin): "/proc/vmmemctl" ]) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/vsftpd.py b/sos/plugins/vsftpd.py index 6c254e1..d071bdb 100644 --- a/sos/plugins/vsftpd.py +++ b/sos/plugins/vsftpd.py @@ -31,4 +31,4 @@ class Vsftpd(Plugin, RedHatPlugin): "/etc/vsftpd" ]) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/x11.py b/sos/plugins/x11.py index 4db7ee3..ad20dc0 100644 --- a/sos/plugins/x11.py +++ b/sos/plugins/x11.py @@ -37,4 +37,4 @@ class X11(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): "xrandr --verbose" ]) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/xen.py b/sos/plugins/xen.py index 284b079..7cf3582 100644 --- a/sos/plugins/xen.py +++ b/sos/plugins/xen.py @@ -104,4 +104,4 @@ class Xen(Plugin, RedHatPlugin): self.add_custom_text("Xen hostType: "+host_type) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/xfs.py b/sos/plugins/xfs.py index 4e61e2b..6f8f60c 100644 --- a/sos/plugins/xfs.py +++ b/sos/plugins/xfs.py @@ -39,4 +39,4 @@ class Xfs(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): parts = e.split(' ') self.add_cmd_output("xfs_logprint -c %s" % (parts[0])) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/xinetd.py b/sos/plugins/xinetd.py index fe39bc0..4fd1d12 100644 --- a/sos/plugins/xinetd.py +++ b/sos/plugins/xinetd.py @@ -33,4 +33,4 @@ class Xinetd(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): "/etc/xinetd.d" ]) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/plugins/yum.py b/sos/plugins/yum.py index 7155280..a420a07 100644 --- a/sos/plugins/yum.py +++ b/sos/plugins/yum.py @@ -66,4 +66,4 @@ class Yum(Plugin, RedHatPlugin): except IndexError: pass -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/policies/__init__.py b/sos/policies/__init__.py index b3f0623..93aace1 100644 --- a/sos/policies/__init__.py +++ b/sos/policies/__init__.py @@ -442,4 +442,4 @@ class LinuxPolicy(Policy): return -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/policies/debian.py b/sos/policies/debian.py index 564f5c6..c85103c 100644 --- a/sos/policies/debian.py +++ b/sos/policies/debian.py @@ -42,4 +42,4 @@ class DebianPolicy(LinuxPolicy): except: return False -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/policies/osx.py b/sos/policies/osx.py index adbeea4..ad75d37 100644 --- a/sos/policies/osx.py +++ b/sos/policies/osx.py @@ -13,4 +13,4 @@ class OSXPolicy(Policy): except Exception: return False -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/policies/redhat.py b/sos/policies/redhat.py index b8dd0c4..0f717b2 100644 --- a/sos/policies/redhat.py +++ b/sos/policies/redhat.py @@ -188,4 +188,4 @@ class FedoraPolicy(RedHatPolicy): return int(pkg["version"]) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/policies/ubuntu.py b/sos/policies/ubuntu.py index 4c87eca..25652ea 100644 --- a/sos/policies/ubuntu.py +++ b/sos/policies/ubuntu.py @@ -36,4 +36,4 @@ class UbuntuPolicy(DebianPolicy): except: return False -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/reporting.py b/sos/reporting.py index 709aaf0..49d5c97 100644 --- a/sos/reporting.py +++ b/sos/reporting.py @@ -155,4 +155,4 @@ class PlainTextReport(object): for item in section.get(key): self.buf.append(format_ % item) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/sosreport.py b/sos/sosreport.py index efa6043..a98cd84 100644 --- a/sos/sosreport.py +++ b/sos/sosreport.py @@ -1468,4 +1468,4 @@ def main(args): sos = SoSReport(args) sos.execute() -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/sos/utilities.py b/sos/utilities.py index b1ec772..327287c 100644 --- a/sos/utilities.py +++ b/sos/utilities.py @@ -232,4 +232,4 @@ class ImporterHelper(object): return plugins -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/tests/archive_tests.py b/tests/archive_tests.py index c778e4e..fcfe169 100644 --- a/tests/archive_tests.py +++ b/tests/archive_tests.py @@ -92,4 +92,4 @@ class TarFileArchiveTest(unittest.TestCase): if __name__ == "__main__": unittest.main() -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/tests/importer_tests.py b/tests/importer_tests.py index e7e20a2..9d80990 100644 --- a/tests/importer_tests.py +++ b/tests/importer_tests.py @@ -12,4 +12,4 @@ class ImporterHelperTests(unittest.TestCase): if __name__ == "__main__": unittest.main() -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/tests/option_tests.py b/tests/option_tests.py index 3185bce..9ef1784 100644 --- a/tests/option_tests.py +++ b/tests/option_tests.py @@ -33,4 +33,4 @@ class GlobalOptionTest(unittest.TestCase): if __name__ == "__main__": unittest.main() -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/tests/plugin_tests.py b/tests/plugin_tests.py index 7364eff..696a02b 100644 --- a/tests/plugin_tests.py +++ b/tests/plugin_tests.py @@ -319,4 +319,4 @@ class RegexSubTests(unittest.TestCase): if __name__ == "__main__": unittest.main() -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/tests/policy_tests.py b/tests/policy_tests.py index fe208fc..9bbb3a1 100644 --- a/tests/policy_tests.py +++ b/tests/policy_tests.py @@ -68,4 +68,4 @@ class PackageManagerTests(unittest.TestCase): if __name__ == "__main__": unittest.main() -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/tests/report_tests.py b/tests/report_tests.py index 5bb1d83..82e0d5f 100644 --- a/tests/report_tests.py +++ b/tests/report_tests.py @@ -117,4 +117,4 @@ class TestPlainReport(unittest.TestCase): if __name__ == "__main__": unittest.main() -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/tests/sosreport_pexpect.py b/tests/sosreport_pexpect.py index 4b80723..cccb840 100644 --- a/tests/sosreport_pexpect.py +++ b/tests/sosreport_pexpect.py @@ -27,4 +27,4 @@ class PexpectTest(unittest.TestCase): if __name__ == '__main__': unittest.main() -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/tests/test_exe.py b/tests/test_exe.py index ee493b7..d2bb238 100755 --- a/tests/test_exe.py +++ b/tests/test_exe.py @@ -1,4 +1,4 @@ #!/usr/bin/python print "executed" -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 diff --git a/tests/utilities_tests.py b/tests/utilities_tests.py index 60087c1..b8050f7 100644 --- a/tests/utilities_tests.py +++ b/tests/utilities_tests.py @@ -87,4 +87,4 @@ class FindTest(unittest.TestCase): leaves = find("leaf", TEST_DIR, path_pattern="tests/path") self.assertFalse(any(name.endswith("leaf") for name in leaves)) -# vim: et ts=4 sw=4 +# vim: set ts=4 sw=4 -- 2.1.2 From bmr at redhat.com Mon Jul 6 12:32:22 2015 From: bmr at redhat.com (Bryn M. Reeves) Date: Mon, 6 Jul 2015 13:32:22 +0100 Subject: [sos-devel] [RESEND PATCH] Fix vim tags typo in all python source files In-Reply-To: <1432713566-32546-1-git-send-email-kamalesh@linux.vnet.ibm.com> References: <1432713566-32546-1-git-send-email-kamalesh@linux.vnet.ibm.com> Message-ID: <20150706123221.GA965@localhost.localdomain> On Wed, May 27, 2015 at 01:29:26PM +0530, Kamalesh Babulal wrote: > Fix the spelling of 'set' in vim tags, in all of the > python sources files. Hi Kamalesh, > -# vim: et ts=4 sw=4 > +# vim: set ts=4 sw=4 I don't think this is quite correct; this discards the 'et' command that enables tab-expansion (conversion of tab characters to a corresponding number of spaces). The 'et' is not a mis-spelling of 'set'; there are just two ways to do vim modelines (although not all versions are compatible with every line format). I'm also unsure that this makes a valid modeline since it does not end with a ':' - this is required for the styles which use the 'set' keyword: http://vimdoc.sourceforge.net/htmldoc/options.html#modeline I've edited the patch so that the final modeline will be: # vim: set et ts=4 sw=4 : I think this gives us the options that we want and is compatible with the widest range of vi and vim variants. Thanks again for taking this on! Regards, Bryn. From kamalesh at linux.vnet.ibm.com Tue Jul 7 05:12:32 2015 From: kamalesh at linux.vnet.ibm.com (Kamalesh Babulal) Date: Tue, 7 Jul 2015 10:42:32 +0530 Subject: [sos-devel] [PATCH] Modify vim tags across multiple python source files In-Reply-To: <20150706123221.GA965@localhost.localdomain> References: <20150706123221.GA965@localhost.localdomain> Message-ID: <1436245952-9315-1-git-send-email-kamalesh@linux.vnet.ibm.com> Hi Bryn, Thanks for explaining it. I had obviously, mis-understood it to be typo in vim syntax. I have fixed it in remaining sources files also, to keep in consistency of the footer across the project. -- >8 -- Modify/Introduce vim tags syntax to set expand tab and modeline across multiple python sources files. Signed-off-by: Kamalesh Babulal Cc: Bryn M. Reeves --- sos/__init__.py | 2 ++ sos/__init__.py.in | 2 ++ sos/plugins/activemq.py | 2 ++ sos/plugins/chrony.py | 2 +- sos/plugins/iprconfig.py | 2 ++ sos/plugins/openstack_sahara.py | 2 +- sos/plugins/puppet.py | 3 ++- sos/plugins/saphana.py | 2 +- sos/plugins/sapnw.py | 2 +- sos/plugins/subscription_manager.py | 2 +- sos/plugins/ubuntu.py | 2 ++ sos/policies/ibmkvm.py | 2 +- 12 files changed, 18 insertions(+), 7 deletions(-) diff --git a/sos/__init__.py b/sos/__init__.py index 066e118..9c892a1 100644 --- a/sos/__init__.py +++ b/sos/__init__.py @@ -35,3 +35,5 @@ def _default(msg): return gettext.dgettext(gettext_app, msg) _sos = _default + +# vim: set et ts=4 sw=4 : diff --git a/sos/__init__.py.in b/sos/__init__.py.in index 9d2903f..b35c344 100644 --- a/sos/__init__.py.in +++ b/sos/__init__.py.in @@ -34,3 +34,5 @@ def _default(msg): return gettext.dgettext(gettext_app, msg) _sos = _default + +# vim: set et ts=4 sw=4 : diff --git a/sos/plugins/activemq.py b/sos/plugins/activemq.py index 1594229..a08e8b3 100644 --- a/sos/plugins/activemq.py +++ b/sos/plugins/activemq.py @@ -61,3 +61,5 @@ class UbuntuActiveMq(ActiveMq, UbuntuPlugin): '/etc/activemq', '/etc/default/activemq' ]) + +# vim: set et ts=4 sw=4 : diff --git a/sos/plugins/chrony.py b/sos/plugins/chrony.py index d2404d4..d3a648f 100644 --- a/sos/plugins/chrony.py +++ b/sos/plugins/chrony.py @@ -37,4 +37,4 @@ class Chrony(Plugin, RedHatPlugin): "journalctl -u chronyd" ]) -# vim: et ts=4 sw=4 +# vim: set et ts=4 sw=4 : diff --git a/sos/plugins/iprconfig.py b/sos/plugins/iprconfig.py index 687d8d5..0384544 100644 --- a/sos/plugins/iprconfig.py +++ b/sos/plugins/iprconfig.py @@ -108,3 +108,5 @@ class IprConfig(Plugin, RedHatPlugin, UbuntuPlugin, DebianPlugin): # temp[0] holds device name self.add_cmd_output("iprconfig -c " "query-ses-mode %s" % (temp[0],)) + +# vim: set et ts=4 sw=4 : diff --git a/sos/plugins/openstack_sahara.py b/sos/plugins/openstack_sahara.py index 9d971ba..15ae9e0 100644 --- a/sos/plugins/openstack_sahara.py +++ b/sos/plugins/openstack_sahara.py @@ -71,4 +71,4 @@ class RedHatOpenStackSahara(OpenStackSahara, RedHatPlugin): self.add_copy_spec("/etc/sudoers.d/sahara") -# vim: et ts=4 sw=4 +# vim: set et ts=4 sw=4 : diff --git a/sos/plugins/puppet.py b/sos/plugins/puppet.py index 4da95a2..4e7416a 100644 --- a/sos/plugins/puppet.py +++ b/sos/plugins/puppet.py @@ -40,4 +40,5 @@ class Puppet(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): ) return -# vim: et ts=4 sw=4 + +# vim: set et ts=4 sw=4 : diff --git a/sos/plugins/saphana.py b/sos/plugins/saphana.py index 2ff26f5..ff5b946 100644 --- a/sos/plugins/saphana.py +++ b/sos/plugins/saphana.py @@ -81,4 +81,4 @@ class saphana(Plugin, RedHatPlugin): % (sid, inst) ) -# vim: et ts=4 sw=4 +# vim: set et ts=4 sw=4 : diff --git a/sos/plugins/sapnw.py b/sos/plugins/sapnw.py index e18978f..93b5f57 100644 --- a/sos/plugins/sapnw.py +++ b/sos/plugins/sapnw.py @@ -141,4 +141,4 @@ class sapnw(Plugin, RedHatPlugin): self.add_cmd_output( "/usr/bin/sapconf -n", suggest_filename="sapconf_checkmode") -# vim: et ts=4 sw=4 +# vim: set et ts=4 sw=4 : diff --git a/sos/plugins/subscription_manager.py b/sos/plugins/subscription_manager.py index 8ba65d8..4070429 100644 --- a/sos/plugins/subscription_manager.py +++ b/sos/plugins/subscription_manager.py @@ -40,4 +40,4 @@ class SubscriptionManager(Plugin, RedHatPlugin): "--no-subscriptions --destination %s" % self.get_cmd_output_path()) -# vim: et ts=4 sw=4 +# vim: set et ts=4 sw=4 : diff --git a/sos/plugins/ubuntu.py b/sos/plugins/ubuntu.py index 05efea5..6695a0a 100644 --- a/sos/plugins/ubuntu.py +++ b/sos/plugins/ubuntu.py @@ -35,3 +35,5 @@ class Ubuntu(Plugin, UbuntuPlugin): self.add_cmd_output(" ".join(cmd), suggest_filename='ubuntu-support-status.txt') + +# vim: set et ts=4 sw=4 : diff --git a/sos/policies/ibmkvm.py b/sos/policies/ibmkvm.py index ff05953..d8420eb 100644 --- a/sos/policies/ibmkvm.py +++ b/sos/policies/ibmkvm.py @@ -74,4 +74,4 @@ class ZKVMPolicy(RedHatPolicy): return False -# vim: set ts=4 sw=4 +# vim: set et ts=4 sw=4 : -- 2.1.2 From builds at travis-ci.org Tue Jul 7 20:18:22 2015 From: builds at travis-ci.org (Travis CI) Date: Tue, 07 Jul 2015 20:18:22 +0000 Subject: [sos-devel] Broken: sosreport/sos#1009 (bmr-tupperware - 3d0fb51) In-Reply-To: Message-ID: <559c340e80e8_322a11aa76029a@e4c54519-1bb8-4adc-9df9-81cdf1bc0729.mail> Build Update for sosreport/sos ------------------------------------- Build: #1009 Status: Broken Duration: 34 seconds Commit: 3d0fb51 (bmr-tupperware) Author: Bryn M. Reeves Message: [sosreport] fixup commit bce8614 Commit bce8614 deletes an _exit() call from SoSReport.setup(): self.ui_log.error(" %s while setting up plugins" % e.strerror) self.ui_log.error("") - self._exit(1) This causes sos to continue following fatal file system errors. Signed-off-by: Bryn M. Reeves View the changeset: https://github.com/sosreport/sos/compare/ad99dc5b2aba...3d0fb51606c3 View the full build log and details: https://travis-ci.org/sosreport/sos/builds/69954506 -- You can configure recipients for build notifications in your .travis.yml file. See http://docs.travis-ci.com/user/notifications -------------- next part -------------- An HTML attachment was scrubbed... URL: From builds at travis-ci.org Wed Jul 8 11:37:34 2015 From: builds at travis-ci.org (Travis CI) Date: Wed, 08 Jul 2015 11:37:34 +0000 Subject: [sos-devel] Fixed: sosreport/sos#1016 (bmr-tupperware - c50fbd3) In-Reply-To: Message-ID: <559d0b7d92f90_31536bf05404df@8bf79213-5340-4d11-8a94-a0f42573773d.mail> Build Update for sosreport/sos ------------------------------------- Build: #1016 Status: Fixed Duration: 20 seconds Commit: c50fbd3 (bmr-tupperware) Author: Bryn M. Reeves Message: [plugins] trim leading '../' from links when sysroot is set When SYSROOT is not '/' relative symlinks need to be trimmed to remove the extra leading '../' returned by abspath('/sysroot/...'). Signed-off-by: Bryn M. Reeves View the changeset: https://github.com/sosreport/sos/compare/a4b60ddfc115...c50fbd3f6574 View the full build log and details: https://travis-ci.org/sosreport/sos/builds/70047517 -- You can configure recipients for build notifications in your .travis.yml file. See http://docs.travis-ci.com/user/notifications -------------- next part -------------- An HTML attachment was scrubbed... URL: From builds at travis-ci.org Wed Jul 8 11:37:52 2015 From: builds at travis-ci.org (Travis CI) Date: Wed, 08 Jul 2015 11:37:52 +0000 Subject: [sos-devel] Errored: sosreport/sos#1015 (bmr-tupperware - a4b60dd) In-Reply-To: Message-ID: <559d0b8e35b60_31341ee44801ba@c1c7e29b-e58a-4570-a1cb-d3c4b1c6db9b.mail> Build Update for sosreport/sos ------------------------------------- Build: #1015 Status: Errored Duration: 3 seconds Commit: a4b60dd (bmr-tupperware) Author: Bryn M. Reeves Message: [plugins] trim leading '../' from links when sysroot is set When SYSROOT is not '/' relative symlinks need to be trimmed to remove the extra leading '../' returned by abspath('/sysroot/...'). Signed-off-by: Bryn M. Reeves View the changeset: https://github.com/sosreport/sos/compare/3d0fb51606c3...a4b60ddfc115 View the full build log and details: https://travis-ci.org/sosreport/sos/builds/70047143 -- You can configure recipients for build notifications in your .travis.yml file. See http://docs.travis-ci.com/user/notifications -------------- next part -------------- An HTML attachment was scrubbed... URL: From kamalesh at linux.vnet.ibm.com Fri Jul 10 11:58:28 2015 From: kamalesh at linux.vnet.ibm.com (Kamalesh Babulal) Date: Fri, 10 Jul 2015 17:28:28 +0530 Subject: [sos-devel] [PATCH] [last] Fix pep8 issue Message-ID: <1436529508-16061-1-git-send-email-kamalesh@linux.vnet.ibm.com> Fix E126 continuation line over-indented for hanging indent pep8 issue. Signed-off-by: Kamalesh Babulal --- sos/plugins/last.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sos/plugins/last.py b/sos/plugins/last.py index d6b791d..27ba1d3 100644 --- a/sos/plugins/last.py +++ b/sos/plugins/last.py @@ -25,9 +25,9 @@ class Last(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): def setup(self): self.add_cmd_output("last", root_symlink="last") self.add_cmd_output([ - "last reboot", - "last shutdown", - "lastlog" - ]) + "last reboot", + "last shutdown", + "lastlog" + ]) # vim: et ts=4 sw=4 -- 2.1.2 From bmr at redhat.com Fri Jul 10 12:03:42 2015 From: bmr at redhat.com (Bryn M. Reeves) Date: Fri, 10 Jul 2015 13:03:42 +0100 Subject: [sos-devel] [PATCH] [last] Fix pep8 issue In-Reply-To: <1436529508-16061-1-git-send-email-kamalesh@linux.vnet.ibm.com> References: <1436529508-16061-1-git-send-email-kamalesh@linux.vnet.ibm.com> Message-ID: <20150710120342.GD28117@localhost.localdomain> On Fri, Jul 10, 2015 at 05:28:28PM +0530, Kamalesh Babulal wrote: > Fix E126 continuation line over-indented for hanging indent > pep8 issue. > > Signed-off-by: Kamalesh Babulal > --- > sos/plugins/last.py | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/sos/plugins/last.py b/sos/plugins/last.py > index d6b791d..27ba1d3 100644 > --- a/sos/plugins/last.py > +++ b/sos/plugins/last.py > @@ -25,9 +25,9 @@ class Last(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): > def setup(self): > self.add_cmd_output("last", root_symlink="last") > self.add_cmd_output([ > - "last reboot", > - "last shutdown", > - "lastlog" > - ]) > + "last reboot", > + "last shutdown", > + "lastlog" > + ]) To comply with the sos house style for lists this should be: self.add_cmd_output([ - "last reboot", - "last shutdown", - "lastlog" - ]) + "last reboot", + "last shutdown", + "lastlog" + ]) But that said, I don't see this warning evern running pep8.py from git: $ cd ~/src/git/pep8/ $ git pull Already up-to-date. $ git describe HEAD 1.1-533-ga6e423c $ cd - $ ~/src/git/pep8/pep8.py sos $ Which is a bit odd; what pep8 are you running? Either way - the style is wrong in that file and it should be fixed. Regards, Bryn. From kamalesh at linux.vnet.ibm.com Fri Jul 10 12:07:56 2015 From: kamalesh at linux.vnet.ibm.com (Kamalesh Babulal) Date: Fri, 10 Jul 2015 17:37:56 +0530 Subject: [sos-devel] [PATCH] [last] Fix pep8 issue In-Reply-To: <20150710120342.GD28117@localhost.localdomain> References: <1436529508-16061-1-git-send-email-kamalesh@linux.vnet.ibm.com> <20150710120342.GD28117@localhost.localdomain> Message-ID: <559FB59C.6060402@linux.vnet.ibm.com> On 07/10/2015 05:33 PM, Bryn M. Reeves wrote: > On Fri, Jul 10, 2015 at 05:28:28PM +0530, Kamalesh Babulal wrote: >> Fix E126 continuation line over-indented for hanging indent >> pep8 issue. >> >> Signed-off-by: Kamalesh Babulal >> --- >> sos/plugins/last.py | 8 ++++---- >> 1 file changed, 4 insertions(+), 4 deletions(-) >> >> diff --git a/sos/plugins/last.py b/sos/plugins/last.py >> index d6b791d..27ba1d3 100644 >> --- a/sos/plugins/last.py >> +++ b/sos/plugins/last.py >> @@ -25,9 +25,9 @@ class Last(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): >> def setup(self): >> self.add_cmd_output("last", root_symlink="last") >> self.add_cmd_output([ >> - "last reboot", >> - "last shutdown", >> - "lastlog" >> - ]) >> + "last reboot", >> + "last shutdown", >> + "lastlog" >> + ]) > To comply with the sos house style for lists this should be: > > self.add_cmd_output([ > - "last reboot", > - "last shutdown", > - "lastlog" > - ]) > + "last reboot", > + "last shutdown", > + "lastlog" > + ]) > > But that said, I don't see this warning evern running pep8.py from > git: > > $ cd ~/src/git/pep8/ > $ git pull > Already up-to-date. > $ git describe HEAD > 1.1-533-ga6e423c > $ cd - > $ ~/src/git/pep8/pep8.py sos > $ > > Which is a bit odd; what pep8 are you running? Thanks for reviewing the patch. I am running pep8 1.5.6 which is provided by python-pep8-1.5.6-1 (fedora 20). It was happy with the patch formatting after changes, I made :( > Either way - the style is wrong in that file and it should be fixed. > > Regards, > Bryn. > -- Cheers, Kamalesh. From kamalesh at linux.vnet.ibm.com Fri Jul 10 12:18:10 2015 From: kamalesh at linux.vnet.ibm.com (Kamalesh Babulal) Date: Fri, 10 Jul 2015 17:48:10 +0530 Subject: [sos-devel] [v2 PATCH] [last] Fix pep8 issue In-Reply-To: <559FB59C.6060402@linux.vnet.ibm.com> References: <559FB59C.6060402@linux.vnet.ibm.com> Message-ID: <1436530690-20888-1-git-send-email-kamalesh@linux.vnet.ibm.com> Fix E126 continuation line over-indented for hanging indent pep8 issue. Signed-off-by: Kamalesh Babulal Cc: Bryn M. Reeves --- v2: - Change add_cmd_output() closing braces indentation. sos/plugins/last.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sos/plugins/last.py b/sos/plugins/last.py index d6b791d..1353018 100644 --- a/sos/plugins/last.py +++ b/sos/plugins/last.py @@ -25,9 +25,9 @@ class Last(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): def setup(self): self.add_cmd_output("last", root_symlink="last") self.add_cmd_output([ - "last reboot", - "last shutdown", - "lastlog" - ]) + "last reboot", + "last shutdown", + "lastlog" + ]) # vim: et ts=4 sw=4 -- 2.1.2 From builds at travis-ci.org Fri Jul 31 09:23:39 2015 From: builds at travis-ci.org (Travis CI) Date: Fri, 31 Jul 2015 09:23:39 +0000 Subject: [sos-devel] Passed: sosreport/sos#1060 (bmr-sysroot-symlinks - 7b074e6) In-Reply-To: Message-ID: <55bb3e9ae57e0_397e690363677@51a43f04-6792-45e3-baf9-4df49f8b914e.mail> Build Update for sosreport/sos ------------------------------------- Build: #1060 Status: Passed Duration: 43 seconds Commit: 7b074e6 (bmr-sysroot-symlinks) Author: Bryn M. Reeves Message: [Plugin] fix handling of symlinks in non-sysroot environments Signed-off-by: Bryn M. Reeves View the changeset: https://github.com/sosreport/sos/commit/7b074e635bd5 View the full build log and details: https://travis-ci.org/sosreport/sos/builds/73523498 -- You can configure recipients for build notifications in your .travis.yml file. See http://docs.travis-ci.com/user/notifications -------------- next part -------------- An HTML attachment was scrubbed... URL: