Index: tools/release/merge_to_branch.py |
diff --git a/tools/release/merge_to_branch.py b/tools/release/merge_to_branch.py |
index 5fe3ba42516ea9b6004ee925e3a0bae8e3ebd005..378a9fd135910ca0cae108e3947c73aa3cbd575e 100755 |
--- a/tools/release/merge_to_branch.py |
+++ b/tools/release/merge_to_branch.py |
@@ -104,9 +104,8 @@ class CreateCommitMessage(Step): |
def RunStep(self): |
- # Stringify: [123, 234] -> "r123, r234" |
- self["revision_list"] = ", ".join(map(lambda s: "r%s" % s, |
- self["full_revision_list"])) |
+ # Stringify: ["abcde", "12345"] -> "abcde, 12345" |
+ self["revision_list"] = ", ".join(self["full_revision_list"]) |
if not self["revision_list"]: # pragma: no cover |
self.Die("Revision list is empty.") |