Removed the infrastructure from starting main.py - it can no longer be the entrypoint to the application
This commit is contained in:
parent
3a800d9a44
commit
9337c68ae0
|
@ -120,7 +120,3 @@ def assert_mongo_db_version(mongo_url):
|
||||||
sys.exit(-1)
|
sys.exit(-1)
|
||||||
else:
|
else:
|
||||||
logger.info("Mongo DB version OK. Got {0}".format(str(server_version)))
|
logger.info("Mongo DB version OK. Got {0}".format(str(server_version)))
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
|
||||||
main()
|
|
||||||
|
|
Loading…
Reference in New Issue