author | sylvain.thenault@logilab.fr |
Tue, 24 Mar 2009 11:58:35 +0100 | |
changeset 1137 | 9ce0ac82f94f |
parent 1136 | 9dd50b3f94c4 |
child 1139 | bf3384eb87a4 |
--- a/server/sources/extlite.py Mon Mar 23 14:29:57 2009 +0100 +++ b/server/sources/extlite.py Tue Mar 24 11:58:35 2009 +0100 @@ -141,7 +141,7 @@ def set_schema(self, schema): super(SQLiteAbstractSource, self).set_schema(schema) - if self._need_sql_create and self._is_schema_complete(): + if self._need_sql_create and self._is_schema_complete() and self.dbpath: self._create_database() self.rqlsqlgen = self.sqlgen_class(schema, self.sqladapter.dbhelper)