diff options
-rwxr-xr-x | git-bz | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -67,7 +67,10 @@ from ConfigParser import RawConfigParser, NoOptionError import httplib from optparse import OptionParser import os -from pysqlite2 import dbapi2 as sqlite +try: + from sqlite3 import dbapi2 as sqlite +except ImportError: + from pysqlite2 import dbapi2 as sqlite import re from StringIO import StringIO from subprocess import Popen, CalledProcessError, PIPE |