3
0
Fork 0
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:
Krystine Sherwin 2025-07-08 15:44:02 +12:00
parent 233d5f1264
commit bd0d615b2a
No known key found for this signature in database

View file

@ -69,7 +69,7 @@ def transaction(method: Fn) -> Fn:
self.log_debug(f"failed {method.__name__!r} transaction {err}")
if not isinstance(err, sqlite3.OperationalError):
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")
raise
else: