35 remove escapes from the cvs parser in ipaserver/install/ldapupdate https://fedorahosted.org/freeipa/ticket/1472

This commit is contained in:
Jr Aquino 2011-07-18 13:02:04 -07:00 committed by Martin Kosek
parent ba1575772c
commit 9869b0971d

View File

@ -141,8 +141,7 @@ class LDAPUpdate:
def __unicode_csv_reader(self, unicode_csv_data, quote_char="'", dialect=csv.excel, **kwargs):
# csv.py doesn't do Unicode; encode temporarily as UTF-8:
csv_reader = csv.reader(self.__utf_8_encoder(unicode_csv_data),
dialect=dialect,
delimiter=',', escapechar='\\',
dialect=dialect, delimiter=',',
quotechar=quote_char,
skipinitialspace=True,
**kwargs)