From ab22e02db8694accbad6bdc5417e93b3f7846860 Mon Sep 17 00:00:00 2001 From: Rolzad73 Date: Sun, 5 Feb 2017 00:38:37 -0500 Subject: [PATCH] - cleaned up error msg bug --- tools/upload-binaries.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/upload-binaries.py b/tools/upload-binaries.py index e7d477388..e48eb5766 100644 --- a/tools/upload-binaries.py +++ b/tools/upload-binaries.py @@ -52,8 +52,9 @@ def main(): if (options.token and options.sha and options.local and options.remote and (options.branch == 'master' or options.branch == 'travis_mac_osx')): gh = login(token = options.token) elif (options.branch != 'master' and options.branch != 'travis_mac_osx'): - print '!branch is not master or travis_mac_osx! -> ' + options.branch - print '-will not upload-' + print '!branch is not master or travis_mac_osx! -> ' + options.branch + print '-will not upload-' + return else: parser.print_help() return