summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/engine/threadlocal.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2006-06-05 19:18:48 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2006-06-05 19:18:48 +0000
commit2c64bca2143609ca43394bfaad9e67b7cf239688 (patch)
tree85853071e1cc15af68f184c36eb55739e1260d29 /lib/sqlalchemy/engine/threadlocal.py
parente1796fcdcbd510fcbb155435fc2eeb58493072ab (diff)
downloadsqlalchemy-2c64bca2143609ca43394bfaad9e67b7cf239688.tar.gz
0.2.2 prep, added "pickler" option to Pickle type
Diffstat (limited to 'lib/sqlalchemy/engine/threadlocal.py')
-rw-r--r--lib/sqlalchemy/engine/threadlocal.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/sqlalchemy/engine/threadlocal.py b/lib/sqlalchemy/engine/threadlocal.py
index 1d99f9ce8..913c6425a 100644
--- a/lib/sqlalchemy/engine/threadlocal.py
+++ b/lib/sqlalchemy/engine/threadlocal.py
@@ -15,11 +15,6 @@ class TLSession(object):
return self.__transaction._increment_connect()
except AttributeError:
return TLConnection(self, close_with_result=close_with_result)
- def set_transaction(self, tlconnection, trans):
- if self.__tcount == 0:
- self.__transaction = tlconnection
- self.__trans = trans
- self.__tcount += 1
def reset(self):
try:
self.__transaction._force_close()