~landscape/storm/staging

« back to all changes in this revision

Viewing changes to storm/databases/sqlite.py

  • Committer: Tarmac
  • Date: 2015-06-15 18:29:08 UTC
  • mfrom: (246.1.231 storm)
  • Revision ID: landscape-devel@lists.canonical.com-20150615182908-yntj5s6itomv4psd
Merging from trunk for staging deployment

Show diffs side-by-side

added added

removed removed

Lines of Context:
178
178
    connection_factory = SQLiteConnection
179
179
 
180
180
    def __init__(self, uri):
 
181
        super(SQLite, self).__init__(uri)
181
182
        if sqlite is dummy:
182
183
            raise DatabaseModuleError("'pysqlite2' module not found")
183
184
        self._filename = uri.database or ":memory:"