aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2014-07-08 22:33:17 +0100
committerBryn M. Reeves <bmr@redhat.com>2014-07-08 22:33:17 +0100
commit6ea684ea6b3c5ca9126f76e73171a1cd4f4e7227 (patch)
tree9046aeee30886ec07d12fb6a14ca3b067573b408
parent79c9677cc9111aba8e0353212d8b254a44787ed3 (diff)
downloadsos-6ea684ea6b3c5ca9126f76e73171a1cd4f4e7227.tar.gz
[ldap] list style fixes
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/ldap.py14
1 files changed, 10 insertions, 4 deletions
diff --git a/sos/plugins/ldap.py b/sos/plugins/ldap.py
index cbbd6a7f..a7ba9762 100644
--- a/sos/plugins/ldap.py
+++ b/sos/plugins/ldap.py
@@ -46,10 +46,16 @@ class RedHatLdap(Ldap, RedHatPlugin):
def postproc(self):
super(RedHatLdap, self).postproc()
- self.do_file_sub("/etc/nslcd.conf",
- r"(\s*bindpw\s*)\S+", r"\1********")
- self.do_file_sub("/etc/pam_ldap.conf",
- r"(\s*bindpw\s*)\S+", r"\1********")
+ self.do_file_sub(
+ "/etc/nslcd.conf",
+ r"(\s*bindpw\s*)\S+",
+ r"\1********"
+ )
+ self.do_file_sub(
+ "/etc/pam_ldap.conf",
+ r"(\s*bindpw\s*)\S+",
+ r"\1********"
+ )
class DebianLdap(Ldap, DebianPlugin, UbuntuPlugin):
"""LDAP related information for Debian based distribution