From 410870e98c85639ac9646f61af06a1667c226ca3 Mon Sep 17 00:00:00 2001 From: jlaine Date: Wed, 19 May 2010 08:22:20 +0000 Subject: [PATCH] fix wrapped lines git-svn-id: https://svn.bolloretelecom.eu/opensource/django-ldapdb/trunk@848 e071eeec-0327-468d-9b6a-08194a12b294 --- ldapdb/models/fields.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ldapdb/models/fields.py b/ldapdb/models/fields.py index 88b5252..fe91601 100644 --- a/ldapdb/models/fields.py +++ b/ldapdb/models/fields.py @@ -32,10 +32,10 @@ class CharField(fields.CharField): Used by the default implementations of ``get_db_prep_save``and `get_db_prep_lookup``` """ - return value.replace('\\', '\\5c') - .replace('*', '\\2a') - .replace('(', '\\28') - .replace(')', '\\29') + return value.replace('\\', '\\5c') \ + .replace('*', '\\2a') \ + .replace('(', '\\28') \ + .replace(')', '\\29') \ .replace('\0', '\\00') class ImageField(fields.Field): -- 2.30.2