From: Daniele Varrazzo Date: Mon, 28 Dec 2020 03:25:40 +0000 (+0100) Subject: Set public module for PQerror X-Git-Tag: 3.0.dev0~230 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1af19777d8cfdd3d2eea0e1695b1ebb311ad463a;p=thirdparty%2Fpsycopg.git Set public module for PQerror --- diff --git a/psycopg3/psycopg3/pq/misc.py b/psycopg3/psycopg3/pq/misc.py index 7d9cb9763..278de6461 100644 --- a/psycopg3/psycopg3/pq/misc.py +++ b/psycopg3/psycopg3/pq/misc.py @@ -12,7 +12,7 @@ from .proto import PGconn, PGresult class PQerror(OperationalError): - pass + __module__ = "psycopg3.pq" class PGnotify(NamedTuple):