From c950f5ec8fb19a98a77f7b95df67f801b790a939 Mon Sep 17 00:00:00 2001 From: Marc Bonnici Date: Thu, 18 Jul 2019 14:02:44 +0100 Subject: [PATCH] utils/postgres: Fix formatting --- wa/utils/postgres.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/wa/utils/postgres.py b/wa/utils/postgres.py index 19a29f7a..69c4f616 100644 --- a/wa/utils/postgres.py +++ b/wa/utils/postgres.py @@ -243,10 +243,10 @@ def get_schema(schemafilepath): def get_database_schema_version(conn): with conn.cursor() as cursor: cursor.execute('''SELECT - DatabaseMeta.schema_major, - DatabaseMeta.schema_minor - FROM - DatabaseMeta;''') + DatabaseMeta.schema_major, + DatabaseMeta.schema_minor + FROM + DatabaseMeta;''') schema_major, schema_minor = cursor.fetchone() return (schema_major, schema_minor)