projects
/
services
/
jenkins-scripts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70d624d
)
Fixed type check error for the condition
76/168176/1
author
Yonghee Han
<onstudy@samsung.com>
Thu, 25 Jan 2018 00:00:54 +0000
(09:00 +0900)
committer
Yonghee Han
<onstudy@samsung.com>
Thu, 25 Jan 2018 00:00:54 +0000
(09:00 +0900)
Fixed check for contains branch of the submit tag
Change-Id: Ibb4c49fd158742aefb9bb2b6c88434e0b16ba45f
job_submit.py
patch
|
blob
|
history
diff --git
a/job_submit.py
b/job_submit.py
index
9ba4b23
..
45ddd42
100755
(executable)
--- a/
job_submit.py
+++ b/
job_submit.py
@@
-459,7
+459,7
@@
def main(build_type, build, event, sr_count):
submitter += ' <%s>' % gerrit_account_email
# Enable Github Connection.
- if
event.get('github_type') is None
:
+ if
not event.get('github_type')
:
mygerrit = Gerrit(event['hostname'], event['username'], \
event['sshport'], int(os.getenv('GERRIT_SILENT_MODE')))