File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 1414 privilege, e.g., user not existing (issue 2550534)
1515- fix construction of individual messages to nosy recipents with
1616 attachments (issue 2550568)
17+ - re-order sqlite imports to handle multiple installed versions (issue
18+ 2550570)
1719
1820
19212009-03-18 1.4.8 (r4209)
Original file line number Diff line number Diff line change 1414from roundup .backends import rdbms_common
1515sqlite_version = None
1616try :
17- import sqlite
18- sqlite_version = 1
17+ import sqlite3 as sqlite
18+ sqlite_version = 3
1919except ImportError :
2020 try :
2121 from pysqlite2 import dbapi2 as sqlite
2424 '- %s found' % sqlite .version )
2525 sqlite_version = 2
2626 except ImportError :
27- import sqlite3 as sqlite
28- sqlite_version = 3
27+ import sqlite
28+ sqlite_version = 1
2929
3030def db_exists (config ):
3131 return os .path .exists (os .path .join (config .DATABASE , 'db' ))
You can’t perform that action at this time.
0 commit comments