From 163cee699dcc4236e0ea6214ff0870a79d0237a1 Mon Sep 17 00:00:00 2001 From: andyque Date: Mon, 13 Apr 2015 11:20:47 +0800 Subject: [PATCH] fix PR requester builder promption. --- tools/jenkins-scripts/pull-request-builder.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/jenkins-scripts/pull-request-builder.py b/tools/jenkins-scripts/pull-request-builder.py index e0a3e7f8bc..9297bbd1ca 100755 --- a/tools/jenkins-scripts/pull-request-builder.py +++ b/tools/jenkins-scripts/pull-request-builder.py @@ -148,8 +148,9 @@ def gen_scripting_bindings(): # Generate binding glue codes if(branch == 'v3' or branch == 'v4-develop' or branch == 'v35-for-tizen'): ret = os.system("python tools/jenkins-scripts/slave-scripts/gen_jsb.py") - if(ret != 0): + else: print("The branch" + branch + " doesn't accept PR!") + if(ret != 0): sys.exit(ret)