Author: Brian Kearns <[email protected]>
Branch:
Changeset: r62112:4474d4b96147
Date: 2013-03-05 22:04 -0500
http://bitbucket.org/pypy/pypy/changeset/4474d4b96147/
Log: put getter with setter
diff --git a/lib_pypy/_sqlite3.py b/lib_pypy/_sqlite3.py
--- a/lib_pypy/_sqlite3.py
+++ b/lib_pypy/_sqlite3.py
@@ -708,14 +708,14 @@
if ret != SQLITE_OK:
raise self._get_exception(ret)
- def _get_isolation_level(self):
- return self._isolation_level
-
def _get_total_changes(self):
self._check_closed()
return sqlite.sqlite3_total_changes(self.db)
total_changes = property(_get_total_changes)
+ def _get_isolation_level(self):
+ return self._isolation_level
+
def _set_isolation_level(self, val):
if val is None:
self.commit()
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit