summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/dialects/mysql/cymysql.py
diff options
context:
space:
mode:
authorHajime Nakagami <nakagami@gmail.com>2013-03-01 23:45:02 +0900
committerHajime Nakagami <nakagami@gmail.com>2013-03-01 23:45:02 +0900
commitaf3689191ea28573b2bf44585ec0ed2b2e1a074d (patch)
tree3ef93e37733e59f18b189adcd58e6c03e28370b2 /lib/sqlalchemy/dialects/mysql/cymysql.py
parent46edfb987241980fcf8b109b98a52ef9d9222a7f (diff)
downloadsqlalchemy-af3689191ea28573b2bf44585ec0ed2b2e1a074d.tar.gz
fix easy miss
Diffstat (limited to 'lib/sqlalchemy/dialects/mysql/cymysql.py')
-rw-r--r--lib/sqlalchemy/dialects/mysql/cymysql.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/sqlalchemy/dialects/mysql/cymysql.py b/lib/sqlalchemy/dialects/mysql/cymysql.py
index 8f61dcb95..017005866 100644
--- a/lib/sqlalchemy/dialects/mysql/cymysql.py
+++ b/lib/sqlalchemy/dialects/mysql/cymysql.py
@@ -26,14 +26,14 @@ class _cymysqlBIT(BIT):
def process(value):
if value is not None:
# Py2K
- value = 0L
+ v = 0L
for i in map(ord, value):
- value = value << 8 | i
+ v = v << 8 | i
# end Py2K
# Py3K
- #value = 0
+ #v = 0
#for i in value:
- # value = value << 8 | i
+ # v = v << 8 | i
return value
return process