Skip to content

Commit f87d35e

Browse files
committed
use Python 2.6 style format for #5
1 parent d94fc4a commit f87d35e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

encrypted_fields/fields.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ def get_db_prep_value(self, value, connection, prepared=False):
188188
and len(value) > self.max_length
189189
):
190190
raise ValueError(
191-
'Field {} max_length={} encrypted_len={}'.format(
191+
'Field {0} max_length={1} encrypted_len={2}'.format(
192192
self.name,
193193
self.max_length,
194194
len(value),

0 commit comments

Comments
 (0)