Code Review
/
releng
/
builder.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
bcbbb65
)
Fix iterator for Python 3
05/36905/1
author
Thanh Ha
<thanh.ha@linuxfoundation.org>
Wed, 30 Mar 2016 17:33:22 +0000
(13:33 -0400)
committer
Thanh Ha
<thanh.ha@linuxfoundation.org>
Wed, 30 Mar 2016 17:33:22 +0000
(13:33 -0400)
Change-Id: I77f0c1b500c4d00b779253b22e2a9c385296daee
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
scripts/jjb-init-project.py
patch
|
blob
|
history
diff --git
a/scripts/jjb-init-project.py
b/scripts/jjb-init-project.py
index 64b58210731b60bd8dd0124a8f909c6bb78b4a55..2595e38594822b433aa5ed49a0ab80f151f28488 100644
(file)
--- a/
scripts/jjb-init-project.py
+++ b/
scripts/jjb-init-project.py
@@
-73,7
+73,7
@@
if cfg.get("STREAMS"): # this is a list of single-key dicts
else:
streams = {"boron": jjblib.STREAM_DEFAULTS["boron"]}
-first_stream =
streams.iterkeys().next(
) # Keep master branch at top.
+first_stream =
next(iter(streams)
) # Keep master branch at top.
sonar_branch = streams[first_stream]["branch"]
# Create YAML to list branches to create jobs for
str_streams = "stream:\n"