1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-01-18 12:06:08 +00:00

utils/postgres: Fix formatting

This commit is contained in:
Marc Bonnici 2019-07-18 14:02:44 +01:00
parent 6aaa28781b
commit c950f5ec8f

View File

@ -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)