reydb 1.1.48__py3-none-any.whl → 1.1.49__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
reydb/rerror.py CHANGED
@@ -41,11 +41,6 @@ class DatabaseError(DatabaseBase):
41
41
  database : Database or DatabaseConnection instance.
42
42
  """
43
43
 
44
- # SQLite.
45
- if database.backend == 'sqlite':
46
- text = 'not suitable for SQLite databases'
47
- throw(AssertionError, text=text)
48
-
49
44
  # Build.
50
45
  self.database = database
51
46
 
@@ -228,7 +223,7 @@ class DatabaseError(DatabaseBase):
228
223
  }
229
224
 
230
225
  # Insert.
231
- self.database.execute_insert(
226
+ self.database.execute.insert(
232
227
  (self.db_names['base'], self.db_names['base.error']),
233
228
  data=data
234
229
  )