diff options
author | Federico Caselli <cfederico87@gmail.com> | 2020-09-08 22:00:25 +0200 |
---|---|---|
committer | Federico Caselli <cfederico87@gmail.com> | 2020-09-08 22:00:25 +0200 |
commit | 721b00e7531fe61376fb0e5eb258c5ee56c9266f (patch) | |
tree | 3765d3d95661b600237f93b6829732e19399b579 /lib/sqlalchemy/dialects/postgresql/pg8000.py | |
parent | 0d56a62f721ee6c91d8a8b6a407b959c9215b3b6 (diff) | |
download | sqlalchemy-721b00e7531fe61376fb0e5eb258c5ee56c9266f.tar.gz |
Fix typo in I0ad6d7a095e49d331618274c40ce75c76afdc7dd
Change-Id: I649662d440f83df379922e8c967d28f635f9c85b
Diffstat (limited to 'lib/sqlalchemy/dialects/postgresql/pg8000.py')
-rw-r--r-- | lib/sqlalchemy/dialects/postgresql/pg8000.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sqlalchemy/dialects/postgresql/pg8000.py b/lib/sqlalchemy/dialects/postgresql/pg8000.py index fd70828ff..19570557c 100644 --- a/lib/sqlalchemy/dialects/postgresql/pg8000.py +++ b/lib/sqlalchemy/dialects/postgresql/pg8000.py @@ -378,7 +378,7 @@ class PGDialect_pg8000(PGDialect): finally: cursor.close() - return val == "yes" + return val == "on" def set_deferrable(self, connection, value): cursor = connection.cursor() @@ -399,7 +399,7 @@ class PGDialect_pg8000(PGDialect): finally: cursor.close() - return val == "yes" + return val == "on" def set_client_encoding(self, connection, client_encoding): # adjust for ConnectionFairy possibly being present |