mirror of
https://github.com/YosysHQ/sby.git
synced 2025-08-23 21:27:56 +00:00
Fix raw string
This commit is contained in:
parent
233d5f1264
commit
bd0d615b2a
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ def transaction(method: Fn) -> Fn:
|
||||||
self.log_debug(f"failed {method.__name__!r} transaction {err}")
|
self.log_debug(f"failed {method.__name__!r} transaction {err}")
|
||||||
if not isinstance(err, sqlite3.OperationalError):
|
if not isinstance(err, sqlite3.OperationalError):
|
||||||
raise
|
raise
|
||||||
if re.match("table \w+ has no column named \w+", err.args[0]):
|
if re.match(r"table \w+ has no column named \w+", err.args[0]):
|
||||||
err.add_note("SBY status database can be reset with --statusreset")
|
err.add_note("SBY status database can be reset with --statusreset")
|
||||||
raise
|
raise
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue