Skip to content

Commit 05d65db

Browse files
Add SqliteError exception.
The original scraperwiki API provided a SqliteError exception. This add the exception definition to allow the old scripts to keep working.
1 parent 024dbbf commit 05d65db

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

scraperwiki/sql.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@
1919
SECONDS_BETWEEN_COMMIT = 2
2020
unicode = type(u'')
2121

22+
# The scraperwiki.sqlite.SqliteError exception
23+
class SqliteError(Exception):
24+
"""Problem with SQLite."""
25+
pass
26+
2227
class Blob(bytes):
2328

2429
"""

0 commit comments

Comments
 (0)