summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2006-02-04 23:38:38 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2006-02-04 23:38:38 +0000
commit59a5298b3acdb6b2ed9255b58349d7fb9bd10d6e (patch)
tree19df26dfc397c26ac17c758180d3224a982d355f
parent0bbb2c584e4e2e3f25f3d2f5731dda3ea1c26b44 (diff)
downloadsqlalchemy-59a5298b3acdb6b2ed9255b58349d7fb9bd10d6e.tar.gz
is_unicode propigated into String subclasses
-rw-r--r--lib/sqlalchemy/types.py2
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)