diff options
author | Marc Bonnici <marc.bonnici@arm.com> | 2018-12-07 10:30:48 +0000 |
---|---|---|
committer | setrofim <setrofim@gmail.com> | 2018-12-07 10:51:18 +0000 |
commit | f2d6f351cb0c7646cbe942efb90fcb80d2f6b2a0 (patch) | |
tree | a134a3598ee29d59aec066e6dd6f9dd25303d459 | |
parent | 916f7cbb17c858a13d009ed72a7aa6a75687fe88 (diff) |
output_processors/postgres: Fix incorrect parameter
When verifying the database schema the connection instead of a cursor
should be passed.
-rw-r--r-- | wa/output_processors/postgresql.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wa/output_processors/postgresql.py b/wa/output_processors/postgresql.py index 38dd6af1..a2fa27b8 100644 --- a/wa/output_processors/postgresql.py +++ b/wa/output_processors/postgresql.py @@ -521,7 +521,7 @@ class PostgresqlResultProcessor(OutputProcessor): self.conn.reset() def verify_schema_versions(self): - local_schema_version, db_schema_version = get_schema_versions(self.cursor) + local_schema_version, db_schema_version = get_schema_versions(self.conn) if local_schema_version != db_schema_version: self.cursor.close() self.cursor = None |