summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorINADA Naoki <songofacandy@gmail.com>2013-10-02 02:17:48 +0900
committerINADA Naoki <songofacandy@gmail.com>2013-10-02 02:17:48 +0900
commit2204283605e8c450223965eda8d8f357d5fe4c90 (patch)
treef7b741920c612afa8b33935cf73a9cc575bacadd
parent3dbf035fa5866364a53e17b79172746fe7e9b11e (diff)
downloadmysqldb1-2204283605e8c450223965eda8d8f357d5fe4c90.tar.gz
Remove unused variable.
-rw-r--r--MySQLdb/connections.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/MySQLdb/connections.py b/MySQLdb/connections.py
index 0c529f7..908706a 100644
--- a/MySQLdb/connections.py
+++ b/MySQLdb/connections.py
@@ -232,7 +232,6 @@ class Connection(_mysql.connection):
self.encoders[types.StringType] = string_literal
self.encoders[types.UnicodeType] = unicode_literal
self._transactional = self.server_capabilities & CLIENT.TRANSACTIONS
- self._autocommit = None
if self._transactional:
if autocommit is not None:
self.autocommit(autocommit)
@@ -242,7 +241,6 @@ class Connection(_mysql.connection):
on = bool(on)
if self.get_autocommit() != on:
_mysql.connection.autocommit(self, on)
- self._autocommit = on
def cursor(self, cursorclass=None):
"""