mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-30 06:49:24 +01:00
conf: Remove 'sqlite' module from supybot.databases
It is wholy replaced by 'sqlite3', now
This commit is contained in:
parent
80b26c013d
commit
9e995d8ac2
@ -1021,8 +1021,6 @@ class Databases(registry.SpaceSeparatedListOfStrings):
|
|||||||
v = super(Databases, self).__call__()
|
v = super(Databases, self).__call__()
|
||||||
if not v:
|
if not v:
|
||||||
v = ['anydbm', 'dbm', 'cdb', 'flat', 'pickle']
|
v = ['anydbm', 'dbm', 'cdb', 'flat', 'pickle']
|
||||||
if 'sqlite' in sys.modules:
|
|
||||||
v.insert(0, 'sqlite')
|
|
||||||
if 'sqlite3' in sys.modules:
|
if 'sqlite3' in sys.modules:
|
||||||
v.insert(0, 'sqlite3')
|
v.insert(0, 'sqlite3')
|
||||||
if 'sqlalchemy' in sys.modules:
|
if 'sqlalchemy' in sys.modules:
|
||||||
|
Loading…
Reference in New Issue
Block a user