Exemplo n.º 1
0
def main():
    # if we are configured to auto-migrate the DB, check if there are any migrations to perform
    if config.has_option("cloud_verifier",
                         "auto_migrate_db") and config.getboolean(
                             "cloud_verifier", "auto_migrate_db"):
        keylime.cmd.migrations_apply.apply("cloud_verifier")

    cloud_verifier_tornado.main()
Exemplo n.º 2
0
def main():
    cloud_verifier_tornado.main()