Skip to content

Commit

Permalink
db.py: fix get_sqlite_dbapi_name() to actually use "sqlite3" on >=py2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
warner committed Feb 17, 2010
1 parent 23cc8ff commit 7bd3243
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildbot/db.py
Expand Up @@ -291,7 +291,7 @@ def get_sqlite_dbapi_name():
# don't use built-in sqlite3 on 2.5 -- it has *bad* bugs
if sys.version_info >= (2,6):
import sqlite3
sqlite_dbapi_name = "pysqlite2.dbapi2"
sqlite_dbapi_name = "sqlite3"
else:
raise
return sqlite_dbapi_name
Expand Down

0 comments on commit 7bd3243

Please sign in to comment.