aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sos/plugins/insights.py15
1 files changed, 8 insertions, 7 deletions
diff --git a/sos/plugins/insights.py b/sos/plugins/insights.py
index 0f5a57b0..3bbbb5f6 100644
--- a/sos/plugins/insights.py
+++ b/sos/plugins/insights.py
@@ -25,18 +25,19 @@ class RedHatAccessInsights(Plugin, RedHatPlugin):
def setup(self):
log_size = self.get_option('log_size')
- self.add_copy_spec(
- self.conf_file)
- self.add_copy_spec_limit(
- '/var/log/redhat-access-insights/*.log',
- sizelimit=log_size)
+ self.add_copy_spec(self.conf_file)
+ self.add_copy_spec_limit('/var/log/redhat-access-insights/*.log',
+ sizelimit=log_size)
def postproc(self):
self.do_file_sub(
self.conf_file,
r'(password[\t\ ]*=[\t\ ]*)(.+)',
- r'\1********')
+ r'\1********'
+ )
+
self.do_file_sub(
self.conf_file,
r'(proxy[\t\ ]*=.*)(:)(.*)(@.*)',
- r'\1\2********\4')
+ r'\1\2********\4'
+ )