Commits

Johnny Goodnow committed 01260cc

* Added code to replace dollar signs with commas in local address.

Comments (0)

Files changed (1)

geolocator/ldap_reader.py

 					)
 		else:
 			raise Warning("Warning:  Server ignores RFC 2696 control.")
-		#Code for later#
-		#for person in rdata:
-			#if 'localPostalAddress' in info:
-				#info['localPostalAddress'][0] = info['localPostalAddress'][0].replace('$',',')
+		for person in rdata:
+			info = person[1]
+			if 'localPostalAddress' in info:
+				info['localPostalAddress'][0] = info['localPostalAddress'][0].replace('$',',')
 
 		return rdata