diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2013-04-27 20:38:53 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2013-04-27 20:38:53 -0400 |
commit | c926f0a9d8910c67554f053ed0f7902542679f0d (patch) | |
tree | 85db2c4de6f43e4eee491b58b60e233b6b20a16e /lib/sqlalchemy/dialects/mysql/cymysql.py | |
parent | 2709ae46884f405d95dc16be0667a6cbbebcfb69 (diff) | |
download | sqlalchemy-c926f0a9d8910c67554f053ed0f7902542679f0d.tar.gz |
plugging away
Diffstat (limited to 'lib/sqlalchemy/dialects/mysql/cymysql.py')
-rw-r--r-- | lib/sqlalchemy/dialects/mysql/cymysql.py | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/sqlalchemy/dialects/mysql/cymysql.py b/lib/sqlalchemy/dialects/mysql/cymysql.py index 6fcbc2307..deb2de449 100644 --- a/lib/sqlalchemy/dialects/mysql/cymysql.py +++ b/lib/sqlalchemy/dialects/mysql/cymysql.py @@ -25,16 +25,9 @@ class _cymysqlBIT(BIT): def process(value): if value is not None: -# start Py2K -# v = 0L -# for i in map(ord, value): -# v = v << 8 | i -# end Py2K -# start Py3K v = 0 - for i in value: + for i in util.iterbytes(value): v = v << 8 | i -# end Py3K return v return value return process |