Message ID | 20220219164021.8344-10-zygmunt.krynicki@huawei.com |
---|---|
State | Accepted, archived |
Commit | f9bea2b29ad8121ca82df82cdbc71f5b9d15d515 |
Headers | show |
Series | [01/17] cooker: Fix typo "isn't" | expand |
diff --git a/lib/bb/persist_data.py b/lib/bb/persist_data.py index 49c9a0d5..9e20a837 100644 --- a/lib/bb/persist_data.py +++ b/lib/bb/persist_data.py @@ -63,7 +63,7 @@ class SQLTable(collections.abc.MutableMapping): """ Decorator that starts a database transaction and creates a database cursor for performing queries. If no exception is thrown, the - database results are commited. If an exception occurs, the database + database results are committed. If an exception occurs, the database is rolled back. In all cases, the cursor is closed after the function ends.
Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@huawei.com> --- lib/bb/persist_data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)