diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2008-12-18 17:57:15 +0000 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2008-12-18 17:57:15 +0000 |
commit | be5d3263436b81fb179c8189f1064d477d5fb3e6 (patch) | |
tree | 7f99d53445ef85d4bce4fcf6b5e244779cbcde1c /lib/sqlalchemy/databases/mysql.py | |
parent | 98d7d70674b443d1691971926af1b1db4d7101dc (diff) | |
download | sqlalchemy-be5d3263436b81fb179c8189f1064d477d5fb3e6.tar.gz |
merged -r5299:5438 of py3k warnings branch. this fixes some sqlite py2.6 testing issues,
and also addresses a significant chunk of py3k deprecations. It's mainly
expicit __hash__ methods. Additionally, most usage of sets/dicts to store columns uses
util-based placeholder names.
Diffstat (limited to 'lib/sqlalchemy/databases/mysql.py')
-rw-r--r-- | lib/sqlalchemy/databases/mysql.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/sqlalchemy/databases/mysql.py b/lib/sqlalchemy/databases/mysql.py index 0fc7c8fbd..9c6c48e0f 100644 --- a/lib/sqlalchemy/databases/mysql.py +++ b/lib/sqlalchemy/databases/mysql.py @@ -1034,7 +1034,7 @@ class _BinaryType(sqltypes.Binary): if value is None: return None else: - return buffer(value) + return util.buffer(value) return process class MSVarBinary(_BinaryType): @@ -1081,7 +1081,7 @@ class MSBinary(_BinaryType): if value is None: return None else: - return buffer(value) + return util.buffer(value) return process class MSBlob(_BinaryType): @@ -1108,7 +1108,7 @@ class MSBlob(_BinaryType): if value is None: return None else: - return buffer(value) + return util.buffer(value) return process def __repr__(self): |