diff options
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | sos/policies/ubuntu.py | 2 | ||||
-rw-r--r-- | sos/sosreport.py | 3 |
3 files changed, 4 insertions, 3 deletions
@@ -50,7 +50,7 @@ install: updateversion for d in $(SUBDIRS); do make DESTDIR=`cd $(DESTDIR); pwd` -C $$d install; [ $$? = 0 ] || exit 1; done updateversion: - sed 's/@SOSVERSION@/$(VERSION)/g' sos/__init__.py.in > sos/__init__.py + sed 's/@SOSVERSION@/$(VERSION)/g' sos/__init__.py.in > sos/__init__.py $(NAME)-$(VERSION).tar.gz: clean gpgkey @mkdir -p $(ARCHIVE_DIR) diff --git a/sos/policies/ubuntu.py b/sos/policies/ubuntu.py index d0ecae0f..7d61d054 100644 --- a/sos/policies/ubuntu.py +++ b/sos/policies/ubuntu.py @@ -1,8 +1,8 @@ +from __future__ import with_statement from sos import _sos as _ from sos.plugins import UbuntuPlugin, IndependentPlugin from sos.policies.debian import DebianPolicy, DebianPackageManager from sos.utilities import shell_out -from __future__ import with_statement import os diff --git a/sos/sosreport.py b/sos/sosreport.py index 08f11fd6..fb2622ab 100644 --- a/sos/sosreport.py +++ b/sos/sosreport.py @@ -429,7 +429,8 @@ class SoSReport(object): for plugin_class in plugin_classes: if not self.policy.validatePlugin(plugin_class): self.soslog.debug(_("plugin %s does not validate, skipping") % plug) - self._skip(plugin_class, _("does not validate")) + if self.opts.verbosity > 0: + self._skip(plugin_class, _("does not validate")) continue if plugin_class.requires_root and not self._is_root: |