Move the responsibility for stdout to the CLI module
Change-Id: I5970fb02834b026b9e7898da7addff170b50bed1
This commit is contained in:
parent
50430f5c8f
commit
e226948302
|
@ -464,7 +464,7 @@ class DbVersion(BaseApp):
|
|||
@staticmethod
|
||||
def main():
|
||||
assert_not_extension(CONF.command.extension)
|
||||
migration_helpers.print_db_version()
|
||||
print(migration_helpers.get_db_version())
|
||||
|
||||
|
||||
class BasePermissionsSetup(BaseApp):
|
||||
|
|
|
@ -221,10 +221,6 @@ def get_db_version():
|
|||
get_init_version())
|
||||
|
||||
|
||||
def print_db_version():
|
||||
print(get_db_version())
|
||||
|
||||
|
||||
def expand_schema():
|
||||
"""Expand the database schema ahead of data migration.
|
||||
|
||||
|
|
Loading…
Reference in New Issue