]> git.ipfire.org Git - thirdparty/psycopg.git/commit
Refactor cur._raise_from_results() into _raise_for_result()
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sun, 2 Jan 2022 18:46:32 +0000 (19:46 +0100)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sun, 2 Jan 2022 19:56:00 +0000 (20:56 +0100)
commit121c2214add48ad0614a8190cac7bc820591bb86
treeedb2a540d23db0fff5890bf8acdd939262eea015
parentefb8c9db3d392669e49e8b9ee8bca45aa4544b72
Refactor cur._raise_from_results() into _raise_for_result()

The case of raising with different statuses doesn't practically happen.
psycopg/psycopg/cursor.py
psycopg/psycopg/server_cursor.py