Merge lp:~cjwatson/storm/psycopg2-missing-diag into lp:storm
Proposed by
Colin Watson
Status: | Merged |
---|---|
Merged at revision: | 520 |
Proposed branch: | lp:~cjwatson/storm/psycopg2-missing-diag |
Merge into: | lp:storm |
Diff against target: |
16 lines (+5/-1) 1 file modified
storm/databases/postgres.py (+5/-1) |
To merge this branch: | bzr merge lp:~cjwatson/storm/psycopg2-missing-diag |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Kristian Glass (community) | Approve | ||
Storm Developers | Pending | ||
Review via email: mp+371169@code.launchpad.net |
Commit message
Fix error wrapping with psycopg2 < 2.5.
Description of the change
psycopg2.Error.diag was only added in 2.5, so don't try to wrap it if it doesn't exist.
Bug introduced in https:/
To post a comment you must log in.