
import sqlite3

from binder.conn import Connection
from binder.sqlgen import DIALECT_SQLITE

class SqliteConnection(Connection):

    def __init__(self, dbfile, read_only):
        dbconn = sqlite3.connect(dbfile)
        dberror = sqlite3.Error
        Connection.__init__(
            self, dbconn, dberror,
            DIALECT_SQLITE, "?",
            read_only
            )



import sqlite3

from binder.conn import Connection
from binder.sqlgen import DIALECT_SQLITE

class SqliteConnection(Connection):

    def __init__(self, dbfile, read_only=False):
        dbconn = sqlite3.connect(dbfile)
        dberror = sqlite3.Error
        Connection.__init__(
            self, dbconn, dberror,
            DIALECT_SQLITE, "?",
            read_only
            )


Make SqliteConnection read_only parameter optional
Make SqliteConnection read_only parameter optional