summaryrefslogtreecommitdiff
path: root/coverage/sqldata.py
diff options
context:
space:
mode:
Diffstat (limited to 'coverage/sqldata.py')
-rw-r--r--coverage/sqldata.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/coverage/sqldata.py b/coverage/sqldata.py
index 3142ee3f..babfcb8d 100644
--- a/coverage/sqldata.py
+++ b/coverage/sqldata.py
@@ -537,7 +537,7 @@ class CoverageData(SimpleReprMixin):
cur.close()
with self._connect() as conn:
- conn.isolation_level = 'IMMEDIATE'
+ conn.con.isolation_level = 'IMMEDIATE'
# Get all tracers in the DB. Files not in the tracers are assumed
# to have an empty string tracer. Since Sqlite does not support