Move the responsibility for stdout to the CLI module

Change-Id: I5970fb02834b026b9e7898da7addff170b50bed1
This commit is contained in:
Dolph Mathews 2016-09-15 12:48:54 +00:00
parent 50430f5c8f
commit e226948302
2 changed files with 1 additions and 5 deletions

View File

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

View File

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