[pkg-fso-commits] [SCM] FSO frameworkd Debian packaging branch, debian, updated. upstream/0.9.5.5-717-g0f98819

Sebastian Krzyszkowiak seba.dos1 at gmail.com
Sat Aug 6 08:18:27 UTC 2011


The following commit has been merged in the debian branch:
commit b076ec335fb0835fd4850ea506b115460471212f
Author: Sebastian Krzyszkowiak <seba.dos1 at gmail.com>
Date:   Sat Sep 12 13:12:49 2009 +0200

    opimd: SQLite-*: add isolation_level=None when connecting to sqlite file. Thanks TAsn! Closes #477

diff --git a/framework/subsystems/opimd/pimb_sqlite_calls.py b/framework/subsystems/opimd/pimb_sqlite_calls.py
index fd92c30..4652acd 100644
--- a/framework/subsystems/opimd/pimb_sqlite_calls.py
+++ b/framework/subsystems/opimd/pimb_sqlite_calls.py
@@ -60,7 +60,7 @@ class SQLiteCallBackend(Backend):
         self._domain_handlers = {}
         self._entry_ids = []
         try:
-            self.con = sqlite3.connect(_SQLITE_FILE_NAME)
+            self.con = sqlite3.connect(_SQLITE_FILE_NAME, isolation_level=None)
             cur = self.con.cursor()
             cur.execute("""CREATE TABLE IF NOT EXISTS calls (
                 id INTEGER PRIMARY KEY,
diff --git a/framework/subsystems/opimd/pimb_sqlite_contacts.py b/framework/subsystems/opimd/pimb_sqlite_contacts.py
index 8ef2f96..4f2a2ee 100644
--- a/framework/subsystems/opimd/pimb_sqlite_contacts.py
+++ b/framework/subsystems/opimd/pimb_sqlite_contacts.py
@@ -60,7 +60,7 @@ class SQLiteContactBackend(Backend):
         self._domain_handlers = {}
         self._entry_ids = []
         try:
-            self.con = sqlite3.connect(_SQLITE_FILE_NAME)
+            self.con = sqlite3.connect(_SQLITE_FILE_NAME, isolation_level=None)
             cur = self.con.cursor()
             cur.execute("""CREATE TABLE IF NOT EXISTS contacts (
                 id INTEGER PRIMARY KEY,
diff --git a/framework/subsystems/opimd/pimb_sqlite_dates.py b/framework/subsystems/opimd/pimb_sqlite_dates.py
index 6c9f11f..42f68aa 100644
--- a/framework/subsystems/opimd/pimb_sqlite_dates.py
+++ b/framework/subsystems/opimd/pimb_sqlite_dates.py
@@ -60,7 +60,7 @@ class SQLiteDatesBackend(Backend):
         self._domain_handlers = {}
         self._entry_ids = []
         try:
-            self.con = sqlite3.connect(_SQLITE_FILE_NAME)
+            self.con = sqlite3.connect(_SQLITE_FILE_NAME, isolation_level=None)
             cur = self.con.cursor()
             cur.execute("""CREATE TABLE IF NOT EXISTS dates (
                 id INTEGER PRIMARY KEY,
diff --git a/framework/subsystems/opimd/pimb_sqlite_messages.py b/framework/subsystems/opimd/pimb_sqlite_messages.py
index 7221181..e669b2e 100644
--- a/framework/subsystems/opimd/pimb_sqlite_messages.py
+++ b/framework/subsystems/opimd/pimb_sqlite_messages.py
@@ -60,7 +60,7 @@ class SQLiteMessagesBackend(Backend):
         self._domain_handlers = {}
         self._entry_ids = []
         try:
-            self.con = sqlite3.connect(_SQLITE_FILE_NAME)
+            self.con = sqlite3.connect(_SQLITE_FILE_NAME, isolation_level=None)
             cur = self.con.cursor()
             cur.execute("""CREATE TABLE IF NOT EXISTS messages (
                 id INTEGER PRIMARY KEY,
diff --git a/framework/subsystems/opimd/pimb_sqlite_notes.py b/framework/subsystems/opimd/pimb_sqlite_notes.py
index 303dbb9..90405f8 100644
--- a/framework/subsystems/opimd/pimb_sqlite_notes.py
+++ b/framework/subsystems/opimd/pimb_sqlite_notes.py
@@ -60,7 +60,7 @@ class SQLiteNotesBackend(Backend):
         self._domain_handlers = {}
         self._entry_ids = []
         try:
-            self.con = sqlite3.connect(_SQLITE_FILE_NAME)
+            self.con = sqlite3.connect(_SQLITE_FILE_NAME, isolation_level=None)
             cur = self.con.cursor()
             cur.execute("""CREATE TABLE IF NOT EXISTS notes (
                 id INTEGER PRIMARY KEY,
diff --git a/framework/subsystems/opimd/pimb_sqlite_tasks.py b/framework/subsystems/opimd/pimb_sqlite_tasks.py
index 84d8629..7ce8acf 100644
--- a/framework/subsystems/opimd/pimb_sqlite_tasks.py
+++ b/framework/subsystems/opimd/pimb_sqlite_tasks.py
@@ -60,7 +60,7 @@ class SQLiteTasksBackend(Backend):
         self._domain_handlers = {}
         self._entry_ids = []
         try:
-            self.con = sqlite3.connect(_SQLITE_FILE_NAME)
+            self.con = sqlite3.connect(_SQLITE_FILE_NAME, isolation_level=None)
             cur = self.con.cursor()
             cur.execute("""CREATE TABLE IF NOT EXISTS tasks (
                 id INTEGER PRIMARY KEY,

-- 
FSO frameworkd Debian packaging



More information about the pkg-fso-commits mailing list