# HG changeset patch # User Thomas De Schampheleire # Date 1516541035 -3600 # Node ID 70b2a828bf1eef54b52bd675ff057f9795ffea12 # Parent fefd7279e798e279ed71acf3d538319412d2fb44 setup-db: print completion message to avoid confusion (issue #303) There are cases where the last message of setup-db is a warning, giving the impression that the overall command failed which may not actually be the case. For example, when git is not installed, warnings are given, but they are not an actual error. Kallithea will work fine for Mercurial repositories. To avoid any confusion, print a completion message at the end. Any real errors will abort the command and not make it this far. diff -r fefd7279e798 -r 70b2a828bf1e kallithea/lib/paster_commands/setup_db.py --- a/kallithea/lib/paster_commands/setup_db.py Mon Jan 15 00:34:13 2018 +0100 +++ b/kallithea/lib/paster_commands/setup_db.py Sun Jan 21 14:23:55 2018 +0100 @@ -108,3 +108,5 @@ self, config_file, section, self.sysconfig_install_vars(installer)) self.call_sysconfig_functions( 'post_setup_hook', installer, config_file) + + print 'Database set up successfully.'