mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-18 20:11:20 +00:00
utils/postgres: Fix formatting
This commit is contained in:
parent
6aaa28781b
commit
c950f5ec8f
@ -243,10 +243,10 @@ def get_schema(schemafilepath):
|
|||||||
def get_database_schema_version(conn):
|
def get_database_schema_version(conn):
|
||||||
with conn.cursor() as cursor:
|
with conn.cursor() as cursor:
|
||||||
cursor.execute('''SELECT
|
cursor.execute('''SELECT
|
||||||
DatabaseMeta.schema_major,
|
DatabaseMeta.schema_major,
|
||||||
DatabaseMeta.schema_minor
|
DatabaseMeta.schema_minor
|
||||||
FROM
|
FROM
|
||||||
DatabaseMeta;''')
|
DatabaseMeta;''')
|
||||||
schema_major, schema_minor = cursor.fetchone()
|
schema_major, schema_minor = cursor.fetchone()
|
||||||
return (schema_major, schema_minor)
|
return (schema_major, schema_minor)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user