aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Uvarov <maxim.uvarov@linaro.org>2017-09-04 15:41:27 +0300
committerMaxim Uvarov <maxim.uvarov@linaro.org>2017-09-04 15:41:27 +0300
commitad94e17a99f725f27c97b0035faccde5965c059a (patch)
tree21059e1301cca5e86ef4de7bc81b1831a4c5e2df
parent013322a03806a9033074d7499bda88670b72d23e (diff)
fix gh-checkpatch.py status
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
-rwxr-xr-xgh-checkpatch.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/gh-checkpatch.py b/gh-checkpatch.py
index 7b3dc94..a38914f 100755
--- a/gh-checkpatch.py
+++ b/gh-checkpatch.py
@@ -79,12 +79,13 @@ for pull in repo.get_pulls():
if agreement_ret == 0:
c.create_status(state="success",
target_url="http://none",
- description="ODP License Agreement", context="ODP License Agreement")
+ description="ODP License Agreement",
+ context="ODP License Agreement")
else:
c.create_status(state="failure",
target_url="https://www.opendataplane.org/contributor/individual/",
description="ODP License Agreement",
- context="Individual or Corporate agreement check err")
+ context="ODP License Agreement")
label = repo.get_label("checkpatch")
if not label: