diff options
Diffstat (limited to 'office/keepnote/difsql1.patch')
-rw-r--r-- | office/keepnote/difsql1.patch | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/office/keepnote/difsql1.patch b/office/keepnote/difsql1.patch deleted file mode 100644 index cfbf7278d6..0000000000 --- a/office/keepnote/difsql1.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- ./index_ori.py 2009-11-24 17:06:09.000000000 +0100 -+++ ./index.py 2010-02-01 23:33:13.000000000 +0100 -@@ -30,7 +30,18 @@ - import sys - import traceback - from thread import get_ident --import sqlite3 as sqlite -+#import sqlite3 as sqlite -+ -+#modif mcc -+try: -+ import sqlite3 as sqlite -+except ImportError: -+ try: -+ from pysqlite2 import dbapi2 as sqlite -+ except ImportError: -+ raise ImportError, "no module sqlite3 or pysqlite2" -+ -+ - sqlite.enable_shared_cache(True) - #sqlite.threadsafety = 0 - |