From: Mike Bayer Date: Sat, 4 Feb 2006 23:38:38 +0000 (+0000) Subject: is_unicode propigated into String subclasses X-Git-Tag: rel_0_1_0~64 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=59a5298b3acdb6b2ed9255b58349d7fb9bd10d6e;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git is_unicode propigated into String subclasses --- diff --git a/lib/sqlalchemy/types.py b/lib/sqlalchemy/types.py index fafae076b7..ce1cec778a 100644 --- a/lib/sqlalchemy/types.py +++ b/lib/sqlalchemy/types.py @@ -71,7 +71,7 @@ class String(NullTypeEngine): self.length = length self.is_unicode = is_unicode def adapt(self, typeobj): - return typeobj(self.length) + return typeobj(self.length, self.is_unicode) def adapt_args(self): if self.length is None: return TEXT(is_unicode=self.is_unicode)