diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2006-02-04 23:38:38 +0000 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2006-02-04 23:38:38 +0000 |
commit | 59a5298b3acdb6b2ed9255b58349d7fb9bd10d6e (patch) | |
tree | 19df26dfc397c26ac17c758180d3224a982d355f | |
parent | 0bbb2c584e4e2e3f25f3d2f5731dda3ea1c26b44 (diff) | |
download | sqlalchemy-59a5298b3acdb6b2ed9255b58349d7fb9bd10d6e.tar.gz |
is_unicode propigated into String subclasses
-rw-r--r-- | lib/sqlalchemy/types.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/types.py b/lib/sqlalchemy/types.py index fafae076b..ce1cec778 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) |