aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2017-01-17 12:28:01 +0000
committerBryn M. Reeves <bmr@redhat.com>2017-01-17 12:28:01 +0000
commit4d75385ad15d15e5cdb3b4c9cc7b9c0cf38057d4 (patch)
tree2c263338589040030eeb1111c0ad36f02d5dfb7a
parentd0bcd552f4bc2119afd2a835f4e5ec1107421f40 (diff)
downloadsos-4d75385ad15d15e5cdb3b4c9cc7b9c0cf38057d4.tar.gz
[openstack_horizon] do not collect python .pyc and .pyo files
Horizon seems to like scattering bits of executable python around /etc/: do not collect these files as we cannot properly perform regex subsitution on them. Closes: #856.
-rw-r--r--sos/plugins/openstack_horizon.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sos/plugins/openstack_horizon.py b/sos/plugins/openstack_horizon.py
index 35aff725..f1bc68a2 100644
--- a/sos/plugins/openstack_horizon.py
+++ b/sos/plugins/openstack_horizon.py
@@ -39,6 +39,7 @@ class OpenStackHorizon(Plugin):
sizelimit=self.limit)
self.add_copy_spec("/etc/openstack-dashboard/")
+ self.add_forbidden_path("*.py[co]")
def postproc(self):
protect_keys = [