From 0e8f6a4c0ac71b7dea7b326c2760f0ef152fc148 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Feb 22 2017 10:03:24 +0000 Subject: Inform the user of what is being printed upon createdb.py --initial --- diff --git a/createdb.py b/createdb.py index ccec69b..6ab0727 100644 --- a/createdb.py +++ b/createdb.py @@ -1,5 +1,7 @@ #!/usr/bin/env python2 +from __future__ import print_function + # These two lines are needed to run on EL6 __requires__ = ['SQLAlchemy >= 0.8', 'jinja2 >= 2.4'] import pkg_resources @@ -58,6 +60,6 @@ if args.alembic_cfg: alembic_cfg = Config(args.alembic_cfg) alembic_cfg.set_main_option("url", APP.config['DB_URL']) - command.current(alembic_cfg) command.stamp(alembic_cfg, "head") + print('Current alembic revision id is at:') command.current(alembic_cfg)