mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-06-19 14:56:00 +01:00
utils/postgres: Fix formatting
This commit is contained in:
@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user