diff options
author | INADA Naoki <inada-n@klab.com> | 2013-05-21 13:32:23 +0900 |
---|---|---|
committer | INADA Naoki <inada-n@klab.com> | 2013-05-21 13:32:23 +0900 |
commit | 470eb56c4ddb742c70d9e11c4f6601ccf4071fe5 (patch) | |
tree | 8abf3a34eaba720e976525fb2ec2fcf32df11c41 | |
parent | c1b8e8a0474c44f60ed8e08b3be8dc7f293ce7b8 (diff) | |
download | mysqldb1-470eb56c4ddb742c70d9e11c4f6601ccf4071fe5.tar.gz |
Fix typo.
-rw-r--r-- | MySQLdb/connections.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MySQLdb/connections.py b/MySQLdb/connections.py index 2b423e7..908d72a 100644 --- a/MySQLdb/connections.py +++ b/MySQLdb/connections.py @@ -233,7 +233,7 @@ class Connection(_mysql.connection): # PEP-249 requires autocommit to be initially off autocommit = kwargs2.pop('autocommit', False) if autocommit is not None: - self.autocommit(bool(True)) + self.autocommit(bool(autocommit)) self.messages = [] def cursor(self, cursorclass=None): |