Index: trunk/tools/subversion/user-management/ldapsupportlib.py |
— | — | @@ -83,6 +83,8 @@ |
84 | 84 | def getLdapInfo(self, attr, conffile="/etc/ldap.conf"): |
85 | 85 | f = open(conffile) |
86 | 86 | for line in f: |
| 87 | + if line.strip() == "": |
| 88 | + continue |
87 | 89 | if line.split()[0].lower() == attr.lower(): |
88 | 90 | return line.split(None, 1)[1].strip() |
89 | 91 | break |