r87560 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r87559‎ | r87560 | r87561 >
Date:18:47, 6 May 2011
Author:laner
Status:deferred
Tags:
Comment:
File syntax is: property<whitespace>values; fixing the parsing to pull the entire value
Modified paths:
  • /trunk/tools/subversion/user-management/ldapsupportlib.py (modified) (history)

Diff [purge]

Index: trunk/tools/subversion/user-management/ldapsupportlib.py
@@ -84,7 +84,7 @@
8585 f = open(conffile)
8686 for line in f:
8787 if line.split()[0] == attr:
88 - return line.split()[1]
 88+ return line.split(None, 1)[1].strip()
8989 break
9090
9191 def connect(self):

Status & tagging log