From b2f5005598a2f532da445f229a8017c22f861f5c Mon Sep 17 00:00:00 2001 From: j Date: Fri, 22 Jan 2016 17:57:02 +0530 Subject: [PATCH] make ./ctl update more verbose --- oml/commands.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/oml/commands.py b/oml/commands.py index 8ce7a52..892cc8e 100644 --- a/oml/commands.py +++ b/oml/commands.py @@ -82,8 +82,13 @@ def command_update(*args): Update to latest development version """ import update - if not (update.download() and update.install()): - print("UPDATE FAILED") + print('Downloading...') + if not update.download(): + print('Download failed') + return + print('Installing...') + if not update.install(): + print("Installation failed") def command_postupdate(*args): """