From ac44ae7191925cd48ee851403288a4f0e630cf1f Mon Sep 17 00:00:00 2001 From: James Date: Fri, 9 Sep 2011 17:08:23 -0400 Subject: [PATCH] CC-2659: airtime-import: displaying help text on all exception - when it cannot communicate to Airtime Server, it displays just error msg --- utils/airtime-import/airtime-import.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/utils/airtime-import/airtime-import.py b/utils/airtime-import/airtime-import.py index 4b7889c81..d5b0d3246 100644 --- a/utils/airtime-import/airtime-import.py +++ b/utils/airtime-import/airtime-import.py @@ -124,7 +124,8 @@ def CopyAction(option, opt, value, parser): raise OptionValueError("No argument found. This option requires at least one argument.") stor = helper_get_stor_dir() if(stor is None): - exit("Unable to connect to the Airtime server.") + print "Unable to connect to the Airtime server." + return dest = stor+"organize/" copy_or_move_files_to(parser.rargs, dest, 'copy')